@Immutable public final class MochaRunnerTaskProperties extends BaseNodeTaskProperties
Modifier and Type | Field and Description |
---|---|
static ValidationContext |
VALIDATION_CONTEXT |
Modifier | Constructor and Description |
---|---|
protected |
MochaRunnerTaskProperties() |
|
MochaRunnerTaskProperties(@Nullable String description,
boolean enabled,
@NotNull String nodeExecutable,
@Nullable String environmentVariables,
@Nullable String workingSubdirectory,
@NotNull String mochaExecutable,
@NotNull String testFilesAndDirectories,
boolean parseTestResults,
@Nullable String arguments,
@NotNull List<RequirementProperties> requirements,
@NotNull List<? extends ConditionProperties> conditions) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
@Nullable String |
getArguments() |
@NotNull AtlassianModuleProperties |
getAtlassianPlugin() |
@NotNull String |
getMochaExecutable() |
@NotNull String |
getTestFilesAndDirectories() |
protected ValidationContext |
getValidationContext() |
int |
hashCode() |
boolean |
isParseTestResults() |
void |
validate() |
getEnvironmentVariables, getNodeExecutable, getWorkingSubdirectory
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
public static final ValidationContext VALIDATION_CONTEXT
protected MochaRunnerTaskProperties()
public MochaRunnerTaskProperties(@Nullable @Nullable String description, boolean enabled, @NotNull @NotNull String nodeExecutable, @Nullable @Nullable String environmentVariables, @Nullable @Nullable String workingSubdirectory, @NotNull @NotNull String mochaExecutable, @NotNull @NotNull String testFilesAndDirectories, boolean parseTestResults, @Nullable @Nullable String arguments, @NotNull @NotNull List<RequirementProperties> requirements, @NotNull @NotNull List<? extends ConditionProperties> conditions) throws PropertiesValidationException
PropertiesValidationException
public void validate()
validate
in interface EntityProperties
validate
in class BaseNodeTaskProperties
public boolean equals(Object o)
equals
in class BaseNodeTaskProperties
public int hashCode()
hashCode
in class BaseNodeTaskProperties
@NotNull public @NotNull AtlassianModuleProperties getAtlassianPlugin()
getAtlassianPlugin
in class TaskProperties
protected ValidationContext getValidationContext()
getValidationContext
in class BaseNodeTaskProperties
@NotNull public @NotNull String getMochaExecutable()
@NotNull public @NotNull String getTestFilesAndDirectories()
public boolean isParseTestResults()
@Nullable public @Nullable String getArguments()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.