Class MsBuildTask
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<P>
-
- com.atlassian.bamboo.specs.api.builders.task.Task<MsBuildTask,MsBuildTaskProperties>
-
- com.atlassian.bamboo.specs.builders.task.MsBuildTask
-
public class MsBuildTask extends Task<MsBuildTask,MsBuildTaskProperties>
Represents task that runs MSBuild command.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_PROJECT-
Fields inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, requirements, taskEnabled
-
-
Constructor Summary
Constructors Constructor Description MsBuildTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected @NotNull MsBuildTaskPropertiesbuild()MsBuildTaskenvironmentVariables(@Nullable java.lang.String environmentVariables)Specifies environment variables to be set when command is executed.booleanequals(java.lang.Object o)MsBuildTaskexecutable(@NotNull java.lang.String executable)Specifies MSBuild executable to be used.inthashCode()MsBuildTaskoptions(@Nullable java.lang.String options)Specifies command line argument to be passed when command is executed.MsBuildTaskprojectFile(@NotNull java.lang.String projectFile)Specifies the solution, project file or MSBuild project to execute when this Job Builds.MsBuildTaskworkingSubdirectory(@Nullable java.lang.String workingSubdirectory)Specifies a working directory for the task.-
Methods inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, enabled, requirements, toString
-
-
-
-
Field Detail
-
DEFAULT_PROJECT
public static final java.lang.String DEFAULT_PROJECT
- See Also:
- Constant Field Values
-
-
Method Detail
-
executable
public MsBuildTask executable(@NotNull @NotNull java.lang.String executable)
Specifies MSBuild executable to be used.Sets label (not a path) of command to be executed. This label must be first defined in the GUI on the Administration/Executables page. This field is mandatory
-
projectFile
public MsBuildTask projectFile(@NotNull @NotNull java.lang.String projectFile)
Specifies the solution, project file or MSBuild project to execute when this Job Builds.
-
options
public MsBuildTask options(@Nullable @Nullable java.lang.String options)
Specifies command line argument to be passed when command is executed.
-
environmentVariables
public MsBuildTask environmentVariables(@Nullable @Nullable java.lang.String environmentVariables)
Specifies environment variables to be set when command is executed.
-
workingSubdirectory
public MsBuildTask workingSubdirectory(@Nullable @Nullable java.lang.String workingSubdirectory)
Specifies a working directory for the task.
-
build
@NotNull protected @NotNull MsBuildTaskProperties build()
- Specified by:
buildin classTask<MsBuildTask,MsBuildTaskProperties>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classTask<MsBuildTask,MsBuildTaskProperties>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTask<MsBuildTask,MsBuildTaskProperties>
-
-