public class ProjectName extends Object
Constructor and Description |
---|
ProjectName(String projectName) |
Modifier and Type | Method and Description |
---|---|
String |
asString() |
List<String> |
constructComposeFileCommand() |
static ProjectName |
fromString(String name)
A name consisting of lowercase letters and numbers only.
|
protected String |
projectName() |
static ProjectName |
random() |
protected void |
validate() |
protected boolean |
validCharacters() |
public ProjectName(String projectName)
protected String projectName()
protected void validate()
protected boolean validCharacters()
public String asString()
public static ProjectName random()
public static ProjectName fromString(String name)
name
- the nameCopyright © 2020 Pivotal Software, Inc.. All rights reserved.