Package com.atlassian.bamboo.docker
Class ProcessCommand
java.lang.Object
com.atlassian.bamboo.docker.ProcessCommand
Represents an external process command. The optional mask value
will be hidden when retrieving the "safe" String representation
of the command.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProcessCommand.Builder
builder()
boolean
Get the command as a List.@NotNull String
Get the command as a String replacing all occurrences of the mask value with a masked password String, e.g.int
hashCode()
-
Method Details
-
getCommandList
Get the command as a List. The exact command is returned without applying the mask.- Returns:
- the unmasked command as a List
-
getSafeCommandString
Get the command as a String replacing all occurrences of the mask value with a masked password String, e.g. "********".- Returns:
- the masked String representation of the command.
-
equals
-
hashCode
public int hashCode() -
builder
-