public class DefaultEnvironment extends Object implements Environment
| Modifier and Type | Method and Description | 
|---|---|
| Property | addNewProperty(String name,
              String value) | 
| Service | addNewService(String name,
             ServiceConfig.Type.Enum serviceType) | 
| void | changePropertyName(String name,
                  String value) | 
| boolean | equals(Object obj) | 
| static DefaultEnvironment | getInstance() | 
| String | getName() | 
| Project | getProject() | 
| int | hashCode() | 
| void | moveProperty(String name,
            int idx) | 
| void | release() | 
| void | removeProperty(Property property) | 
| void | removeService(Service service) | 
| void | setName(String name) | 
| void | setProject(Project project) | 
public static final String NAME
public static DefaultEnvironment getInstance()
public String getName()
getName in interface Environmentpublic void setProject(Project project)
setProject in interface Environmentpublic Project getProject()
getProject in interface Environmentpublic void release()
release in interface Environmentpublic Service addNewService(String name, ServiceConfig.Type.Enum serviceType)
addNewService in interface Environmentpublic void removeService(Service service)
removeService in interface Environmentpublic Property addNewProperty(String name, String value)
addNewProperty in interface Environmentpublic void removeProperty(Property property)
removeProperty in interface Environmentpublic void changePropertyName(String name, String value)
changePropertyName in interface Environmentpublic void moveProperty(String name, int idx)
moveProperty in interface Environmentpublic void setName(String name)
setName in interface EnvironmentCopyright © 2019. All Rights Reserved.