Class CommandTaskProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.task.TaskProperties
-
- com.atlassian.bamboo.specs.model.task.CommandTaskProperties
-
- All Implemented Interfaces:
EntityProperties
@Immutable public final class CommandTaskProperties extends TaskProperties
-
-
Constructor Summary
Constructors Constructor Description CommandTaskProperties(String description, boolean enabled, @NotNull String executable, @Nullable String argument, @Nullable String environmentVariables, @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)@Nullable StringgetArgument()@NotNull AtlassianModulePropertiesgetAtlassianPlugin()@Nullable StringgetEnvironmentVariables()@NotNull StringgetExecutable()@Nullable StringgetWorkingSubdirectory()inthashCode()voidvalidate()-
Methods inherited from class com.atlassian.bamboo.specs.api.model.task.TaskProperties
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
-
-
-
-
Constructor Detail
-
CommandTaskProperties
public CommandTaskProperties(String description, boolean enabled, @NotNull @NotNull String executable, @Nullable @Nullable String argument, @Nullable @Nullable String environmentVariables, @Nullable @Nullable String workingSubdirectory, @NotNull @NotNull List<RequirementProperties> requirements, @NotNull @NotNull List<? extends ConditionProperties> conditions) throws PropertiesValidationException
- Throws:
PropertiesValidationException
-
-
Method Detail
-
getAtlassianPlugin
@NotNull public @NotNull AtlassianModuleProperties getAtlassianPlugin()
- Specified by:
getAtlassianPluginin classTaskProperties
-
getExecutable
@NotNull public @NotNull String getExecutable()
-
getArgument
@Nullable public @Nullable String getArgument()
-
getEnvironmentVariables
@Nullable public @Nullable String getEnvironmentVariables()
-
getWorkingSubdirectory
@Nullable public @Nullable String getWorkingSubdirectory()
-
validate
public void validate() throws PropertiesValidationException- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classTaskProperties- Throws:
PropertiesValidationException
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classTaskProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTaskProperties
-
-