Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
AWS OpsWorks tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Duarte committed Aug 25, 2014
1 parent 0477e19 commit cd7f6a9
Show file tree
Hide file tree
Showing 13 changed files with 3,797 additions and 0 deletions.
36 changes: 36 additions & 0 deletions src/main/java/com/amazonaws/ant/opsworks/Constants.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
* Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.amazonaws.ant.opsworks;

/**
* A class containing properties and references for tasks in the project to use
* to communicate certain elements with each other
*/
public class Constants {
public static final String APP_ID_PROPERTY = "appId";
public static final String STACK_ID_PROPERTY = "stackId";
public static final String LAYER_IDS_PROPERTY = "layerIds";
public static final String INSTANCE_IDS_PROPERTY = "instanceIds";
public static final String DEPLOYMENT_IDS_PROPERTY = "deploymentIds";

// This is used when creating a stack--if the task tries to set "stackId"
// but it is already set, this sets a reference in the project to true.
public static final String STACK_ID_REFERENCE = "stackIdAlreadyUsed";

// Similarly this is used when creating a app--if the task tries to set
// "appId" but it is already set, this sets a reference in the project to
// true.
public static final String APP_ID_REFERENCE = "appIdAlreadyUsed";
}
Loading

0 comments on commit cd7f6a9

Please sign in to comment.