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,
DefaultDatabaseConnectionContainer projectDbConnContainer,
DefaultJmsServerContainer projectJmsServerContainer) |
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) |
Long |
getDashboardDbId() |
DefaultDatabaseConnectionContainer |
getDatabaseConnectionContainer() |
String |
getId() |
static com.eviware.soapui.config.ServiceConfig.Type.Enum |
getInterfaceServiceType(com.eviware.soapui.model.iface.Interface serviceInterface) |
DefaultJmsServerContainer |
getJmsServerContainer() |
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) |
static com.eviware.soapui.config.ServiceConfig.Type.Enum |
getRequestServiceType(com.eviware.soapui.model.iface.Request request) |
com.eviware.soapui.model.environment.Service |
getRestServiceAt(int index)
Deprecated.
|
com.eviware.soapui.model.environment.Service |
getRestServiceByName(String serviceName)
Deprecated.
|
int |
getRestServiceCount()
Deprecated.
|
com.eviware.soapui.model.environment.Service |
getService(String name,
com.eviware.soapui.config.ServiceConfig.Type.Enum serviceType) |
com.eviware.soapui.model.environment.Service |
getServiceAt(com.eviware.soapui.config.ServiceConfig.Type.Enum type,
int index) |
int |
getServiceCount(com.eviware.soapui.config.ServiceConfig.Type.Enum type) |
com.eviware.soapui.model.environment.Service |
getSoapServiceAt(int index)
Deprecated.
|
com.eviware.soapui.model.environment.Service |
getSoapServiceByName(String serviceName)
Deprecated.
|
int |
getSoapServiceCount()
Deprecated.
|
int |
hashCode() |
static boolean |
isTypeSupported(com.eviware.soapui.config.ServiceConfig.Type.Enum type) |
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)
Deprecated.
|
void |
removeService(com.eviware.soapui.model.environment.Service service) |
void |
removeServiceByName(String name,
com.eviware.soapui.config.ServiceConfig.Type.Enum type) |
void |
removeSoapServiceByName(String name)
Deprecated.
|
void |
resetConfigOnMove(com.eviware.soapui.config.EnvironmentConfig config) |
void |
setDashboardDbId(Long id) |
void |
setName(String name) |
void |
setProject(com.eviware.soapui.model.project.Project project) |
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeSupport, removePropertyChangeListener, removePropertyChangeListener
public EnvironmentImpl(com.eviware.soapui.config.EnvironmentConfig config, com.eviware.soapui.model.project.Project project, DefaultDatabaseConnectionContainer projectDbConnContainer, DefaultJmsServerContainer projectJmsServerContainer)
public DefaultDatabaseConnectionContainer getDatabaseConnectionContainer()
public DefaultJmsServerContainer getJmsServerContainer()
public ServiceImpl buildService(com.eviware.soapui.config.ServiceConfig config)
public com.eviware.soapui.model.project.Project getProject()
getProject
in interface com.eviware.soapui.model.environment.Environment
public void setProject(com.eviware.soapui.model.project.Project project)
setProject
in interface com.eviware.soapui.model.environment.Environment
public void addEnvironmentListener(com.eviware.soapui.model.environment.EnvironmentListener listener)
public void release()
release
in interface com.eviware.soapui.model.environment.Environment
public void resetConfigOnMove(com.eviware.soapui.config.EnvironmentConfig config)
@Deprecated public int getSoapServiceCount()
@Deprecated public int getRestServiceCount()
public int getServiceCount(com.eviware.soapui.config.ServiceConfig.Type.Enum type)
public int getPropertiesCount()
@Deprecated public com.eviware.soapui.model.environment.Service getSoapServiceAt(int index)
@Deprecated public com.eviware.soapui.model.environment.Service getRestServiceAt(int index)
public com.eviware.soapui.model.environment.Service getServiceAt(com.eviware.soapui.config.ServiceConfig.Type.Enum type, int index)
public com.eviware.soapui.model.environment.Property getPropertyAt(int index)
@Deprecated public com.eviware.soapui.model.environment.Service getSoapServiceByName(String serviceName)
@Deprecated 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.Environment
public 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.Environment
public 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.Environment
@Nullable public com.eviware.soapui.model.environment.Service getService(String name, com.eviware.soapui.config.ServiceConfig.Type.Enum serviceType)
getService
in interface com.eviware.soapui.model.environment.Environment
public static boolean isTypeSupported(com.eviware.soapui.config.ServiceConfig.Type.Enum type)
public static com.eviware.soapui.config.ServiceConfig.Type.Enum getRequestServiceType(com.eviware.soapui.model.iface.Request request)
public static com.eviware.soapui.config.ServiceConfig.Type.Enum getInterfaceServiceType(com.eviware.soapui.model.iface.Interface serviceInterface)
public void removeProperty(com.eviware.soapui.model.environment.Property property)
removeProperty
in interface com.eviware.soapui.model.environment.Environment
public void changePropertyName(String oldName, String newName)
changePropertyName
in interface com.eviware.soapui.model.environment.Environment
@Deprecated public void removeSoapServiceByName(String name)
@Deprecated public void removeRestServiceByName(String name)
public void removeServiceByName(String name, com.eviware.soapui.config.ServiceConfig.Type.Enum type)
public void removePropertyByName(String name)
public String getName()
getName
in interface com.eviware.soapui.model.environment.Environment
public void setName(String name)
setName
in interface com.eviware.soapui.model.environment.Environment
public String getId()
getId
in interface com.eviware.soapui.model.environment.Environment
public PropertyImpl buildProperty(com.eviware.soapui.config.PropertyConfig config)
public void moveProperty(String name, int targetIndex)
moveProperty
in interface com.eviware.soapui.model.environment.Environment
public EnvironmentImpl clone(String newEnvName)
public void setDashboardDbId(Long id)
setDashboardDbId
in interface com.eviware.soapui.model.environment.Environment
public Long getDashboardDbId()
getDashboardDbId
in interface com.eviware.soapui.model.environment.Environment
Copyright © 2019. All rights reserved.