public class EnvironmentImpl
extends com.eviware.soapui.support.AbstractPropertyChangeNotifier
implements com.eviware.soapui.model.environment.Environment
| Constructor and Description |
|---|
EnvironmentImpl(com.eviware.soapui.config.EnvironmentConfig config,
com.eviware.soapui.model.project.Project project,
DatabaseConnectionContainer projectDbConnContainer) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEnvironmentListener(com.eviware.soapui.model.environment.EnvironmentListener listener) |
PropertyImpl |
addNewProperty(String name,
String value) |
PropertyImpl |
addNewProperty(String name,
String value,
int idx) |
ServiceImpl |
addNewService(String name,
com.eviware.soapui.config.ServiceConfig.Type.Enum serviceType) |
PropertyImpl |
buildProperty(com.eviware.soapui.config.PropertyConfig config) |
ServiceImpl |
buildService(com.eviware.soapui.config.ServiceConfig config) |
void |
changePropertyName(String oldName,
String newName) |
EnvironmentImpl |
clone(String newEnvName) |
boolean |
equals(Object obj) |
DefaultDatabaseConnectionContainer |
getDatabaseConnectionContainer() |
String |
getName() |
com.eviware.soapui.model.project.Project |
getProject() |
int |
getPropertiesCount() |
com.eviware.soapui.model.environment.Property |
getPropertyAt(int index) |
com.eviware.soapui.model.environment.Property |
getPropertyByName(String propertyName) |
com.eviware.soapui.model.environment.Service |
getRestServiceAt(int index) |
com.eviware.soapui.model.environment.Service |
getRestServiceByName(String serviceName) |
int |
getRestServiceCount() |
com.eviware.soapui.model.environment.Service |
getSoapServiceAt(int index) |
com.eviware.soapui.model.environment.Service |
getSoapServiceByName(String serviceName) |
int |
getSoapServiceCount() |
int |
hashCode() |
void |
moveProperty(String name,
int targetIndex) |
com.eviware.soapui.model.environment.Service |
populateService(ServiceImpl service,
boolean isCopy) |
void |
release() |
void |
removeProperty(com.eviware.soapui.model.environment.Property property) |
void |
removePropertyByName(String name) |
void |
removeRestServiceByName(String name) |
void |
removeService(com.eviware.soapui.model.environment.Service service) |
void |
removeSoapServiceByName(String name) |
void |
resetConfigOnMove(com.eviware.soapui.config.EnvironmentConfig config) |
void |
setName(String name) |
void |
setProject(com.eviware.soapui.model.project.Project project) |
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeSupport, removePropertyChangeListener, removePropertyChangeListenerpublic EnvironmentImpl(com.eviware.soapui.config.EnvironmentConfig config,
com.eviware.soapui.model.project.Project project,
DatabaseConnectionContainer projectDbConnContainer)
public DefaultDatabaseConnectionContainer getDatabaseConnectionContainer()
public ServiceImpl buildService(com.eviware.soapui.config.ServiceConfig config)
public void setProject(com.eviware.soapui.model.project.Project project)
setProject in interface com.eviware.soapui.model.environment.Environmentpublic com.eviware.soapui.model.project.Project getProject()
getProject in interface com.eviware.soapui.model.environment.Environmentpublic void addEnvironmentListener(com.eviware.soapui.model.environment.EnvironmentListener listener)
public void release()
release in interface com.eviware.soapui.model.environment.Environmentpublic void resetConfigOnMove(com.eviware.soapui.config.EnvironmentConfig config)
public int getSoapServiceCount()
public int getRestServiceCount()
public int getPropertiesCount()
public com.eviware.soapui.model.environment.Service getSoapServiceAt(int index)
public com.eviware.soapui.model.environment.Service getRestServiceAt(int index)
public com.eviware.soapui.model.environment.Property getPropertyAt(int index)
public com.eviware.soapui.model.environment.Service getSoapServiceByName(String serviceName)
public com.eviware.soapui.model.environment.Service getRestServiceByName(String serviceName)
public com.eviware.soapui.model.environment.Property getPropertyByName(String propertyName)
public ServiceImpl addNewService(String name, com.eviware.soapui.config.ServiceConfig.Type.Enum serviceType)
addNewService in interface com.eviware.soapui.model.environment.Environmentpublic com.eviware.soapui.model.environment.Service populateService(ServiceImpl service, boolean isCopy)
public PropertyImpl addNewProperty(String name, String value)
addNewProperty in interface com.eviware.soapui.model.environment.Environmentpublic PropertyImpl addNewProperty(String name, String value, int idx)
public void removeService(com.eviware.soapui.model.environment.Service service)
removeService in interface com.eviware.soapui.model.environment.Environmentpublic void removeProperty(com.eviware.soapui.model.environment.Property property)
removeProperty in interface com.eviware.soapui.model.environment.Environmentpublic void changePropertyName(String oldName, String newName)
changePropertyName in interface com.eviware.soapui.model.environment.Environmentpublic void removeSoapServiceByName(String name)
public void removeRestServiceByName(String name)
public void removePropertyByName(String name)
public String getName()
getName in interface com.eviware.soapui.model.environment.Environmentpublic void setName(String name)
setName in interface com.eviware.soapui.model.environment.Environmentpublic PropertyImpl buildProperty(com.eviware.soapui.config.PropertyConfig config)
public void moveProperty(String name, int targetIndex)
moveProperty in interface com.eviware.soapui.model.environment.Environmentpublic EnvironmentImpl clone(String newEnvName)
Copyright © 2013. All Rights Reserved.