Class Validation
java.lang.Object
com.amazonaws.codepipeline.jenkinsplugin.Validation
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
numberOfOutPutsIsValid
(List<?> artifacts) static String
static void
validatePlugin
(String awsAccessKey, String awsSecretKey, String region, String actionTypeCategory, String actionTypeProvider, String actionTypeVersion, String projectName, TaskListener taskListener) static void
validateProjectName
(String projectName, TaskListener listener)
-
Field Details
-
MAX_REGION_LENGTH
public static final int MAX_REGION_LENGTH- See Also:
-
MAX_VERSION_LENGTH
public static final int MAX_VERSION_LENGTH- See Also:
-
MAX_PROVIDER_LENGTH
public static final int MAX_PROVIDER_LENGTH- See Also:
-
MAX_PROJECT_NAME_LENGTH
public static final int MAX_PROJECT_NAME_LENGTH- See Also:
-
MAX_ARTIFACTS
public static final int MAX_ARTIFACTS- See Also:
-
-
Constructor Details
-
Validation
public Validation()
-
-
Method Details
-
sanitize
-
validateProjectName
public static void validateProjectName(String projectName, TaskListener listener) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
numberOfOutPutsIsValid
-
validatePlugin
-