public class SolutionStackDescription extends Object implements Serializable, Cloneable
Describes the solution stack.
Constructor and Description |
---|
SolutionStackDescription() |
Modifier and Type | Method and Description |
---|---|
SolutionStackDescription |
clone() |
boolean |
equals(Object obj) |
List<String> |
getPermittedFileTypes()
The permitted file types allowed for a solution stack.
|
String |
getSolutionStackName()
The name of the solution stack.
|
int |
hashCode() |
void |
setPermittedFileTypes(Collection<String> permittedFileTypes)
The permitted file types allowed for a solution stack.
|
void |
setSolutionStackName(String solutionStackName)
The name of the solution stack.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SolutionStackDescription |
withPermittedFileTypes(Collection<String> permittedFileTypes)
The permitted file types allowed for a solution stack.
|
SolutionStackDescription |
withPermittedFileTypes(String... permittedFileTypes)
The permitted file types allowed for a solution stack.
|
SolutionStackDescription |
withSolutionStackName(String solutionStackName)
The name of the solution stack.
|
public String getSolutionStackName()
Constraints:
Length: 0 - 100
public void setSolutionStackName(String solutionStackName)
Constraints:
Length: 0 - 100
solutionStackName
- The name of the solution stack.public SolutionStackDescription withSolutionStackName(String solutionStackName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 100
solutionStackName
- The name of the solution stack.public List<String> getPermittedFileTypes()
public void setPermittedFileTypes(Collection<String> permittedFileTypes)
permittedFileTypes
- The permitted file types allowed for a solution stack.public SolutionStackDescription withPermittedFileTypes(String... permittedFileTypes)
NOTE: This method appends the values to the existing list (if
any). Use setPermittedFileTypes(java.util.Collection)
or
withPermittedFileTypes(java.util.Collection)
if you want to
override the existing values.
Returns a reference to this object so that method calls can be chained together.
permittedFileTypes
- The permitted file types allowed for a solution stack.public SolutionStackDescription withPermittedFileTypes(Collection<String> permittedFileTypes)
Returns a reference to this object so that method calls can be chained together.
permittedFileTypes
- The permitted file types allowed for a solution stack.public String toString()
toString
in class Object
Object.toString()
public SolutionStackDescription clone()
Copyright © 2015. All rights reserved.