Class AntTaskProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.task.TaskProperties
-
- com.atlassian.bamboo.specs.model.task.AntTaskProperties
-
- All Implemented Interfaces:
EntityProperties
@Immutable public final class AntTaskProperties extends TaskProperties
-
-
Field Summary
Fields Modifier and Type Field Description protected @Nullable StringbuildFilestatic StringDEFAULT_TEST_RESULTS_DIRECTORYprotected @Nullable StringenvironmentVariablesprotected @Nullable StringexecutableLabelprotected booleanhasTestsprotected @Nullable Stringjdkprotected @NotNull Stringtargetprotected @NotNull StringtestResultsDirectoryprotected @Nullable StringworkingSubdirectory
-
Constructor Summary
Constructors Modifier Constructor Description protectedAntTaskProperties()AntTaskProperties(@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<RequirementProperties> requirements, @NotNull List<? extends ConditionProperties> conditions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@NotNull AtlassianModulePropertiesgetAtlassianPlugin()@Nullable StringgetBuildFile()@Nullable StringgetEnvironmentVariables()@Nullable StringgetExecutableLabel()@Nullable StringgetJdk()@NotNull StringgetTarget()@NotNull StringgetTestResultsDirectory()@Nullable StringgetWorkingSubdirectory()inthashCode()booleanisHasTests()voidvalidate()-
Methods inherited from class com.atlassian.bamboo.specs.api.model.task.TaskProperties
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
-
-
-
-
Field Detail
-
DEFAULT_TEST_RESULTS_DIRECTORY
public static final String DEFAULT_TEST_RESULTS_DIRECTORY
-
target
@NotNull protected @NotNull String target
-
buildFile
@Nullable protected @Nullable String buildFile
-
environmentVariables
@Nullable protected @Nullable String environmentVariables
-
jdk
@Nullable protected @Nullable String jdk
-
executableLabel
@Nullable protected @Nullable String executableLabel
-
hasTests
protected boolean hasTests
-
testResultsDirectory
@NotNull protected @NotNull String testResultsDirectory
-
workingSubdirectory
@Nullable protected @Nullable String workingSubdirectory
-
-
Constructor Detail
-
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<RequirementProperties> requirements, @NotNull @NotNull List<? extends ConditionProperties> conditions) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
-
Method Detail
-
getTarget
@NotNull public @NotNull String getTarget()
-
getBuildFile
@Nullable public @Nullable String getBuildFile()
-
getEnvironmentVariables
@Nullable public @Nullable String getEnvironmentVariables()
-
getJdk
@Nullable public @Nullable String getJdk()
-
getExecutableLabel
@Nullable public @Nullable String getExecutableLabel()
-
isHasTests
public boolean isHasTests()
-
getTestResultsDirectory
@NotNull public @NotNull String getTestResultsDirectory()
-
getWorkingSubdirectory
@Nullable public @Nullable String getWorkingSubdirectory()
-
getAtlassianPlugin
@NotNull public @NotNull AtlassianModuleProperties getAtlassianPlugin()
- Specified by:
getAtlassianPluginin classTaskProperties
-
validate
public void validate()
- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classTaskProperties
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classTaskProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTaskProperties
-
-