Class GruntTaskProperties

  • All Implemented Interfaces:
    com.atlassian.bamboo.specs.api.model.EntityProperties

    @Immutable
    public final class GruntTaskProperties
    extends BaseNodeTaskProperties
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.atlassian.bamboo.specs.api.validators.common.ValidationContext VALIDATION_CONTEXT  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected GruntTaskProperties()  
        GruntTaskProperties​(@Nullable java.lang.String description, boolean enabled, @NotNull java.lang.String nodeExecutable, @Nullable java.lang.String environmentVariables, @Nullable java.lang.String workingSubdirectory, @NotNull java.lang.String gruntCliExecutable, @Nullable java.lang.String task, @Nullable java.lang.String gruntfile, @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)  
    • Field Detail

      • VALIDATION_CONTEXT

        public static final com.atlassian.bamboo.specs.api.validators.common.ValidationContext VALIDATION_CONTEXT
    • Constructor Detail

      • GruntTaskProperties

        protected GruntTaskProperties()
      • GruntTaskProperties

        public GruntTaskProperties​(@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.lang.String gruntCliExecutable,
                                   @Nullable
                                   @Nullable java.lang.String task,
                                   @Nullable
                                   @Nullable java.lang.String gruntfile,
                                   @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

      • validate

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

        @NotNull
        public @NotNull com.atlassian.bamboo.specs.api.model.AtlassianModuleProperties getAtlassianPlugin()
        Specified by:
        getAtlassianPlugin in class com.atlassian.bamboo.specs.api.model.task.TaskProperties
      • getGruntCliExecutable

        @NotNull
        public @NotNull java.lang.String getGruntCliExecutable()
      • getTask

        @Nullable
        public @Nullable java.lang.String getTask()
      • getGruntfile

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