Class JobProperties
java.lang.Object
com.atlassian.bamboo.specs.api.model.plan.AbstractPlanProperties
com.atlassian.bamboo.specs.api.model.plan.JobProperties
- All Implemented Interfaces:
EntityProperties
-
Constructor Summary
ConstructorDescriptionJobProperties
(BambooKeyProperties key, String name, String description, boolean enabled, boolean cleanWorkingDirectory, Collection<PluginConfigurationProperties> pluginConfigurations, @NotNull List<ArtifactProperties> artifacts, @NotNull List<TaskProperties> tasks, @NotNull List<TaskProperties> finalTasks, @NotNull List<RequirementProperties> requirements, @NotNull List<ArtifactSubscriptionProperties> artifactSubscriptions, @NotNull DockerConfigurationProperties dockerConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionboolean
@NotNull List<ArtifactSubscriptionProperties>
getTasks()
int
hashCode()
boolean
void
validate()
Methods inherited from class com.atlassian.bamboo.specs.api.model.plan.AbstractPlanProperties
getDescription, getKey, getName, getOid, getPluginConfigurations, isEnabled, isKeyDefined, isOidDefined, toPlanIdentifier
-
Constructor Details
-
JobProperties
public JobProperties(BambooKeyProperties key, String name, String description, boolean enabled, boolean cleanWorkingDirectory, Collection<PluginConfigurationProperties> pluginConfigurations, @NotNull @NotNull List<ArtifactProperties> artifacts, @NotNull @NotNull List<TaskProperties> tasks, @NotNull @NotNull List<TaskProperties> finalTasks, @NotNull @NotNull List<RequirementProperties> requirements, @NotNull @NotNull List<ArtifactSubscriptionProperties> artifactSubscriptions, @NotNull @NotNull DockerConfigurationProperties dockerConfiguration) throws PropertiesValidationException - Throws:
PropertiesValidationException
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
isCleanWorkingDirectory
public boolean isCleanWorkingDirectory() -
getArtifacts
-
getTasks
-
getFinalTasks
-
getRequirements
-
getArtifactSubscriptions
-
getDockerConfiguration
-
validate
public void validate()- Specified by:
validate
in interfaceEntityProperties
- Overrides:
validate
in classAbstractPlanProperties
-