org.apache.continuum.release.distributed
Class DistributedReleaseUtil
java.lang.Object
org.apache.continuum.release.distributed.DistributedReleaseUtil
public class DistributedReleaseUtil
- extends Object
Method Summary |
static Boolean |
getAddSchema(Map<String,Object> context,
boolean defaultValue)
|
static String |
getArguments(Map<String,Object> context,
String defaultValue)
|
static Boolean |
getAutoVersionSubmodules(Map<String,Object> context,
boolean defaultValue)
|
static boolean |
getBoolean(Map<String,Object> context,
String key)
|
static boolean |
getBoolean(Map<String,Object> context,
String key,
boolean defaultValue)
|
static String |
getBuildAgentUrl(Map<String,Object> context)
|
static List |
getCompletedReleasePhases(Map<String,Object> context)
|
static Long |
getEndTime(Map<String,Object> context)
|
static String |
getGoals(Map<String,Object> context,
String defaultValue)
|
static Integer |
getInteger(Map<String,Object> context,
String key)
|
static Integer |
getInteger(Map<String,Object> context,
String key,
Object defaultValue)
|
static List |
getList(Map<String,Object> context,
String key,
Object defaultValue)
|
protected static Object |
getObject(Map<String,Object> context,
String key)
|
protected static Object |
getObject(Map<String,Object> context,
String key,
Object defaultValue)
|
static String |
getPerformGoals(Map<String,Object> context,
String defaultValue)
|
static String |
getPrepareGoals(Map<String,Object> context,
String defaultValue)
|
static int |
getProjectId(Map<String,Object> context)
|
static String |
getReleaseError(Map<String,Object> context)
|
static String |
getReleaseGoal(Map<String,Object> context)
|
static String |
getReleaseId(Map<String,Object> context)
|
static String |
getReleaseInProgress(Map<String,Object> context)
|
static String |
getReleaseOutput(Map<String,Object> context)
|
static List |
getReleasePhases(Map<String,Object> context)
|
static int |
getReleaseResultCode(Map<String,Object> context)
|
static int |
getReleaseState(Map<String,Object> context)
|
static String |
getScmCommentPrefix(Map<String,Object> context,
String defaultValue)
|
static String |
getScmTag(Map<String,Object> context,
String defaultValue)
|
static String |
getScmTagBase(Map<String,Object> context,
String defaultValue)
|
static Long |
getStartTime(Map<String,Object> context)
|
static String |
getString(Map<String,Object> context,
String key)
|
static String |
getString(Map<String,Object> context,
String key,
String defaultValue)
|
static boolean |
getUseReleaseProfile(Map<String,Object> context,
boolean defaultValue)
|
static String |
getUsername(Map<String,Object> context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_SCM_TAG
public static final String KEY_SCM_TAG
- See Also:
- Constant Field Values
KEY_SCM_TAGBASE
public static final String KEY_SCM_TAGBASE
- See Also:
- Constant Field Values
KEY_SCM_USERNAME
public static final String KEY_SCM_USERNAME
- See Also:
- Constant Field Values
KEY_SCM_PASSWORD
public static final String KEY_SCM_PASSWORD
- See Also:
- Constant Field Values
KEY_ARGUMENTS
public static final String KEY_ARGUMENTS
- See Also:
- Constant Field Values
KEY_PREPARE_GOALS
public static final String KEY_PREPARE_GOALS
- See Also:
- Constant Field Values
KEY_PERFORM_GOALS
public static final String KEY_PERFORM_GOALS
- See Also:
- Constant Field Values
KEY_SCM_COMMENT_PREFIX
public static final String KEY_SCM_COMMENT_PREFIX
- See Also:
- Constant Field Values
KEY_AUTO_VERSION_SUBMODULES
public static final String KEY_AUTO_VERSION_SUBMODULES
- See Also:
- Constant Field Values
KEY_ADD_SCHEMA
public static final String KEY_ADD_SCHEMA
- See Also:
- Constant Field Values
KEY_PROJECT
public static final String KEY_PROJECT
- See Also:
- Constant Field Values
KEY_PROFILE
public static final String KEY_PROFILE
- See Also:
- Constant Field Values
KEY_PROPERTIES
public static final String KEY_PROPERTIES
- See Also:
- Constant Field Values
KEY_RELEASE_VERSION
public static final String KEY_RELEASE_VERSION
- See Also:
- Constant Field Values
KEY_DEVELOPMENT_VERSION
public static final String KEY_DEVELOPMENT_VERSION
- See Also:
- Constant Field Values
KEY_PROJECT_ID
public static final String KEY_PROJECT_ID
- See Also:
- Constant Field Values
KEY_GROUP_ID
public static final String KEY_GROUP_ID
- See Also:
- Constant Field Values
KEY_ARTIFACT_ID
public static final String KEY_ARTIFACT_ID
- See Also:
- Constant Field Values
KEY_SCM_URL
public static final String KEY_SCM_URL
- See Also:
- Constant Field Values
KEY_LOCAL_REPOSITORY
public static final String KEY_LOCAL_REPOSITORY
- See Also:
- Constant Field Values
KEY_USE_EDIT_MODE
public static final String KEY_USE_EDIT_MODE
- See Also:
- Constant Field Values
KEY_ENVIRONMENTS
public static final String KEY_ENVIRONMENTS
- See Also:
- Constant Field Values
KEY_START_TIME
public static final String KEY_START_TIME
- See Also:
- Constant Field Values
KEY_END_TIME
public static final String KEY_END_TIME
- See Also:
- Constant Field Values
KEY_RELEASE_RESULT_CODE
public static final String KEY_RELEASE_RESULT_CODE
- See Also:
- Constant Field Values
KEY_RELEASE_OUTPUT
public static final String KEY_RELEASE_OUTPUT
- See Also:
- Constant Field Values
KEY_RELEASE_STATE
public static final String KEY_RELEASE_STATE
- See Also:
- Constant Field Values
KEY_RELEASE_PHASES
public static final String KEY_RELEASE_PHASES
- See Also:
- Constant Field Values
KEY_COMPLETED_RELEASE_PHASES
public static final String KEY_COMPLETED_RELEASE_PHASES
- See Also:
- Constant Field Values
KEY_RELEASE_IN_PROGRESS
public static final String KEY_RELEASE_IN_PROGRESS
- See Also:
- Constant Field Values
KEY_RELEASE_ERROR
public static final String KEY_RELEASE_ERROR
- See Also:
- Constant Field Values
KEY_USE_RELEASE_PROFILE
public static final String KEY_USE_RELEASE_PROFILE
- See Also:
- Constant Field Values
KEY_GOALS
public static final String KEY_GOALS
- See Also:
- Constant Field Values
KEY_RELEASE_ID
public static final String KEY_RELEASE_ID
- See Also:
- Constant Field Values
KEY_LOCAL_REPOSITORY_NAME
public static final String KEY_LOCAL_REPOSITORY_NAME
- See Also:
- Constant Field Values
KEY_LOCAL_REPOSITORY_LAYOUT
public static final String KEY_LOCAL_REPOSITORY_LAYOUT
- See Also:
- Constant Field Values
KEY_RELEASE_GOAL
public static final String KEY_RELEASE_GOAL
- See Also:
- Constant Field Values
KEY_BUILD_AGENT_URL
public static final String KEY_BUILD_AGENT_URL
- See Also:
- Constant Field Values
KEY_USERNAME
public static final String KEY_USERNAME
- See Also:
- Constant Field Values
DistributedReleaseUtil
public DistributedReleaseUtil()
getScmTag
public static String getScmTag(Map<String,Object> context,
String defaultValue)
getScmTagBase
public static String getScmTagBase(Map<String,Object> context,
String defaultValue)
getArguments
public static String getArguments(Map<String,Object> context,
String defaultValue)
getPrepareGoals
public static String getPrepareGoals(Map<String,Object> context,
String defaultValue)
getPerformGoals
public static String getPerformGoals(Map<String,Object> context,
String defaultValue)
getScmCommentPrefix
public static String getScmCommentPrefix(Map<String,Object> context,
String defaultValue)
getAutoVersionSubmodules
public static Boolean getAutoVersionSubmodules(Map<String,Object> context,
boolean defaultValue)
getAddSchema
public static Boolean getAddSchema(Map<String,Object> context,
boolean defaultValue)
getStartTime
public static Long getStartTime(Map<String,Object> context)
getEndTime
public static Long getEndTime(Map<String,Object> context)
getReleaseResultCode
public static int getReleaseResultCode(Map<String,Object> context)
getReleaseOutput
public static String getReleaseOutput(Map<String,Object> context)
getReleaseState
public static int getReleaseState(Map<String,Object> context)
getReleasePhases
public static List getReleasePhases(Map<String,Object> context)
getCompletedReleasePhases
public static List getCompletedReleasePhases(Map<String,Object> context)
getReleaseInProgress
public static String getReleaseInProgress(Map<String,Object> context)
getReleaseError
public static String getReleaseError(Map<String,Object> context)
getUseReleaseProfile
public static boolean getUseReleaseProfile(Map<String,Object> context,
boolean defaultValue)
getGoals
public static String getGoals(Map<String,Object> context,
String defaultValue)
getReleaseId
public static String getReleaseId(Map<String,Object> context)
getReleaseGoal
public static String getReleaseGoal(Map<String,Object> context)
getBuildAgentUrl
public static String getBuildAgentUrl(Map<String,Object> context)
getProjectId
public static int getProjectId(Map<String,Object> context)
getUsername
public static String getUsername(Map<String,Object> context)
getInteger
public static Integer getInteger(Map<String,Object> context,
String key)
getInteger
public static Integer getInteger(Map<String,Object> context,
String key,
Object defaultValue)
getString
public static String getString(Map<String,Object> context,
String key)
getString
public static String getString(Map<String,Object> context,
String key,
String defaultValue)
getBoolean
public static boolean getBoolean(Map<String,Object> context,
String key)
getBoolean
public static boolean getBoolean(Map<String,Object> context,
String key,
boolean defaultValue)
getList
public static List getList(Map<String,Object> context,
String key,
Object defaultValue)
getObject
protected static Object getObject(Map<String,Object> context,
String key)
getObject
protected static Object getObject(Map<String,Object> context,
String key,
Object defaultValue)
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.