Class AntTaskProperties
java.lang.Object
com.atlassian.bamboo.specs.api.model.task.TaskProperties
com.atlassian.bamboo.specs.model.task.AntTaskProperties
- All Implemented Interfaces:
com.atlassian.bamboo.specs.api.model.EntityProperties
@Immutable
public final class AntTaskProperties
extends com.atlassian.bamboo.specs.api.model.task.TaskProperties
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAntTaskProperties(@Nullable String description, boolean enabled, @NotNull String target, @Nullable String buildFile, @Nullable String environmentVariables, @Nullable String jdk, @NotNull String executableLabel, boolean hasTests, @Nullable String testResultsDirectory, @Nullable String workingSubdirectory, @NotNull List<com.atlassian.bamboo.specs.api.model.plan.requirement.RequirementProperties> requirements, @NotNull List<? extends com.atlassian.bamboo.specs.api.model.plan.condition.ConditionProperties> conditions) -
Method Summary
Methods inherited from class com.atlassian.bamboo.specs.api.model.task.TaskProperties
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
-
Field Details
-
DEFAULT_TEST_RESULTS_DIRECTORY
-
target
-
buildFile
-
environmentVariables
-
jdk
-
executableLabel
-
hasTests
protected boolean hasTests -
testResultsDirectory
-
workingSubdirectory
-
-
Constructor Details
-
AntTaskProperties
protected AntTaskProperties() -
AntTaskProperties
public AntTaskProperties(@Nullable @Nullable String description, boolean enabled, @NotNull @NotNull String target, @Nullable @Nullable String buildFile, @Nullable @Nullable String environmentVariables, @Nullable @Nullable String jdk, @NotNull @NotNull String executableLabel, boolean hasTests, @Nullable @Nullable String testResultsDirectory, @Nullable @Nullable String workingSubdirectory, @NotNull @NotNull List<com.atlassian.bamboo.specs.api.model.plan.requirement.RequirementProperties> requirements, @NotNull @NotNull List<? extends com.atlassian.bamboo.specs.api.model.plan.condition.ConditionProperties> conditions) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException - Throws:
com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
-
-
Method Details
-
getTarget
-
getBuildFile
-
getEnvironmentVariables
-
getJdk
-
getExecutableLabel
-
isHasTests
public boolean isHasTests() -
getTestResultsDirectory
-
getWorkingSubdirectory
-
getAtlassianPlugin
@NotNull public @NotNull com.atlassian.bamboo.specs.api.model.AtlassianModuleProperties getAtlassianPlugin()- Specified by:
getAtlassianPluginin classcom.atlassian.bamboo.specs.api.model.task.TaskProperties
-
validate
public void validate()- Specified by:
validatein interfacecom.atlassian.bamboo.specs.api.model.EntityProperties- Overrides:
validatein classcom.atlassian.bamboo.specs.api.model.task.TaskProperties
-
equals
- Overrides:
equalsin classcom.atlassian.bamboo.specs.api.model.task.TaskProperties
-
hashCode
public int hashCode()- Overrides:
hashCodein classcom.atlassian.bamboo.specs.api.model.task.TaskProperties
-