Class BaseNodeTaskProperties

    • Constructor Summary

      Constructors 
      Constructor Description
      BaseNodeTaskProperties()  
      BaseNodeTaskProperties​(@Nullable java.lang.String description, boolean enabled, @NotNull java.lang.String nodeExecutable, @Nullable java.lang.String environmentVariables, @Nullable java.lang.String workingSubdirectory, @NotNull java.util.List<com.atlassian.bamboo.specs.api.model.plan.requirement.RequirementProperties> requirements, @NotNull java.util.List<? extends com.atlassian.bamboo.specs.api.model.plan.condition.ConditionProperties> conditions)  
    • Constructor Detail

      • BaseNodeTaskProperties

        public BaseNodeTaskProperties()
      • BaseNodeTaskProperties

        public BaseNodeTaskProperties​(@Nullable
                                      @Nullable java.lang.String description,
                                      boolean enabled,
                                      @NotNull
                                      @NotNull java.lang.String nodeExecutable,
                                      @Nullable
                                      @Nullable java.lang.String environmentVariables,
                                      @Nullable
                                      @Nullable java.lang.String workingSubdirectory,
                                      @NotNull
                                      @NotNull java.util.List<com.atlassian.bamboo.specs.api.model.plan.requirement.RequirementProperties> requirements,
                                      @NotNull
                                      @NotNull java.util.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 Detail

      • getValidationContext

        protected abstract com.atlassian.bamboo.specs.api.validators.common.ValidationContext getValidationContext()
      • validate

        public void validate()
        Specified by:
        validate in interface com.atlassian.bamboo.specs.api.model.EntityProperties
        Overrides:
        validate in class com.atlassian.bamboo.specs.api.model.task.TaskProperties
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class com.atlassian.bamboo.specs.api.model.task.TaskProperties
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.atlassian.bamboo.specs.api.model.task.TaskProperties
      • getNodeExecutable

        @NotNull
        public @NotNull java.lang.String getNodeExecutable()
      • getEnvironmentVariables

        @Nullable
        public @Nullable java.lang.String getEnvironmentVariables()
      • getWorkingSubdirectory

        @Nullable
        public @Nullable java.lang.String getWorkingSubdirectory()