Class Consts
- java.lang.Object
-
- net.uaznia.lukanus.hudson.plugins.gitparameter.Consts
-
public class Consts extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_LIST_SIZE
static String
DEFAULT_REMOTE
static String
EMPTY_JOB_NAME
static String
PARAMETER_TYPE_BRANCH
static String
PARAMETER_TYPE_PULL_REQUEST
static String
PARAMETER_TYPE_REVISION
static String
PARAMETER_TYPE_TAG
static String
PARAMETER_TYPE_TAG_BRANCH
static Pattern
PULL_REQUEST_REFS_PATTERN
static String
REFS_TAGS_PATTERN
static String
TEMPORARY_DIRECTORY_PREFIX
-
Constructor Summary
Constructors Constructor Description Consts()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isBranchType(String type)
static boolean
isParameterTypeCorrect(String type)
static boolean
isPullRequestType(String type)
static boolean
isRevisionType(String type)
static boolean
isTagType(String type)
-
-
-
Field Detail
-
DEFAULT_LIST_SIZE
public static final String DEFAULT_LIST_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_REMOTE
public static final String DEFAULT_REMOTE
- See Also:
- Constant Field Values
-
REFS_TAGS_PATTERN
public static final String REFS_TAGS_PATTERN
- See Also:
- Constant Field Values
-
PARAMETER_TYPE_TAG
public static final String PARAMETER_TYPE_TAG
- See Also:
- Constant Field Values
-
PARAMETER_TYPE_REVISION
public static final String PARAMETER_TYPE_REVISION
- See Also:
- Constant Field Values
-
PARAMETER_TYPE_BRANCH
public static final String PARAMETER_TYPE_BRANCH
- See Also:
- Constant Field Values
-
PARAMETER_TYPE_TAG_BRANCH
public static final String PARAMETER_TYPE_TAG_BRANCH
- See Also:
- Constant Field Values
-
PARAMETER_TYPE_PULL_REQUEST
public static final String PARAMETER_TYPE_PULL_REQUEST
- See Also:
- Constant Field Values
-
PULL_REQUEST_REFS_PATTERN
public static final Pattern PULL_REQUEST_REFS_PATTERN
-
TEMPORARY_DIRECTORY_PREFIX
public static final String TEMPORARY_DIRECTORY_PREFIX
- See Also:
- Constant Field Values
-
EMPTY_JOB_NAME
public static final String EMPTY_JOB_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
isParameterTypeCorrect
public static boolean isParameterTypeCorrect(String type)
-
isRevisionType
public static boolean isRevisionType(String type)
-
isBranchType
public static boolean isBranchType(String type)
-
isTagType
public static boolean isTagType(String type)
-
isPullRequestType
public static boolean isPullRequestType(String type)
-
-