public class ContainerOverride extends Object implements Serializable
Constructor and Description |
---|
ContainerOverride() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<String> |
getCommand()
The command to send to the container that receives the override.
|
String |
getName()
The name of the container that receives the override.
|
int |
hashCode() |
void |
setCommand(Collection<String> command)
The command to send to the container that receives the override.
|
void |
setName(String name)
The name of the container that receives the override.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ContainerOverride |
withCommand(Collection<String> command)
The command to send to the container that receives the override.
|
ContainerOverride |
withCommand(String... command)
The command to send to the container that receives the override.
|
ContainerOverride |
withName(String name)
The name of the container that receives the override.
|
public String getName()
public void setName(String name)
name
- The name of the container that receives the override.public ContainerOverride withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The name of the container that receives the override.public List<String> getCommand()
public void setCommand(Collection<String> command)
command
- The command to send to the container that receives the override.public ContainerOverride withCommand(String... command)
Returns a reference to this object so that method calls can be chained together.
command
- The command to send to the container that receives the override.public ContainerOverride withCommand(Collection<String> command)
Returns a reference to this object so that method calls can be chained together.
command
- The command to send to the container that receives the override.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.