Class NUnitRunnerTaskProperties

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

    public class NUnitRunnerTaskProperties
    extends com.atlassian.bamboo.specs.api.model.task.TaskProperties
    • Constructor Summary

      Constructors 
      Constructor Description
      NUnitRunnerTaskProperties​(@Nullable java.lang.String description, boolean enabled, @NotNull java.lang.String executable, NUnitRunnerTask.NUnitVersion nUnitVersion, @NotNull java.lang.String nUnitTestFiles, @NotNull java.lang.String resultFilename, @NotNull java.util.List<java.lang.String> testsToRun, @NotNull java.util.List<java.lang.String> testCategoriesToInclude, @NotNull java.util.List<java.lang.String> testCategoriesToExclude, @Nullable java.lang.String commandLineOptions, @Nullable java.lang.String environmentVariables, @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

      • NUnitRunnerTaskProperties

        public NUnitRunnerTaskProperties​(@Nullable
                                         @Nullable java.lang.String description,
                                         boolean enabled,
                                         @NotNull
                                         @NotNull java.lang.String executable,
                                         @NotNull
                                         NUnitRunnerTask.NUnitVersion nUnitVersion,
                                         @NotNull
                                         @NotNull java.lang.String nUnitTestFiles,
                                         @NotNull
                                         @NotNull java.lang.String resultFilename,
                                         @NotNull
                                         @NotNull java.util.List<java.lang.String> testsToRun,
                                         @NotNull
                                         @NotNull java.util.List<java.lang.String> testCategoriesToInclude,
                                         @NotNull
                                         @NotNull java.util.List<java.lang.String> testCategoriesToExclude,
                                         @Nullable
                                         @Nullable java.lang.String commandLineOptions,
                                         @Nullable
                                         @Nullable java.lang.String environmentVariables,
                                         @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

      • 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
      • getExecutable

        @NotNull
        public @NotNull java.lang.String getExecutable()
      • getNUnitTestFiles

        @NotNull
        public @NotNull java.lang.String getNUnitTestFiles()
      • getResultFilename

        @NotNull
        public @NotNull java.lang.String getResultFilename()
      • getTestsToRun

        @NotNull
        public @NotNull java.util.List<java.lang.String> getTestsToRun()
      • getTestCategoriesToInclude

        @NotNull
        public @NotNull java.util.List<java.lang.String> getTestCategoriesToInclude()
      • getTestCategoriesToExclude

        @NotNull
        public @NotNull java.util.List<java.lang.String> getTestCategoriesToExclude()
      • getCommandLineOptions

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

        @Nullable
        public @Nullable java.lang.String getEnvironmentVariables()
      • 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
      • 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
      • applicableTo

        public java.util.EnumSet<com.atlassian.bamboo.specs.api.builders.Applicability> applicableTo()
        Overrides:
        applicableTo in class com.atlassian.bamboo.specs.api.model.task.TaskProperties