Class GulpTaskProperties

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

    @Immutable
    public final class GulpTaskProperties
    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 GulpTaskProperties()  
        GulpTaskProperties​(@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 gulpExecutable, @Nullable java.lang.String task, @Nullable java.lang.String gulpfile, @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

      • GulpTaskProperties

        protected GulpTaskProperties()
      • GulpTaskProperties

        public GulpTaskProperties​(@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 gulpExecutable,
                                  @Nullable
                                  @Nullable java.lang.String task,
                                  @Nullable
                                  @Nullable java.lang.String gulpfile,
                                  @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
      • getGulpExecutable

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

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

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