Class ExternalExecutionEnvironment
- java.lang.Object
-
- es.bsc.dataclay.util.MgrObject<ExecutionEnvironmentID>
-
- es.bsc.dataclay.util.management.metadataservice.ExternalExecutionEnvironment
-
- All Implemented Interfaces:
Backend
public final class ExternalExecutionEnvironment extends MgrObject<ExecutionEnvironmentID> implements Backend
This class represents the information of an external ExecutionEnvironment.
-
-
Constructor Summary
Constructors Constructor Description ExternalExecutionEnvironment()
Empty constructor of the ExecutionEnvironmentExternalExecutionEnvironment(DataClayInstanceID thedataClayInstanceID, String newhostname, String newname, int newtcpport, CommonMessages.Langs newlang)
ExecutionEnvironment specification constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object t)
This operation allows to compare this object with other object.String
getAddress()
Get addrees of this EE.DataClayInstanceID
getDataClayInstanceID()
Get the ExternalExecutionEnvironment::dataClayInstanceIDString
getHostname()
Get the ExecutionEnvironment::hostnameCommonMessages.Langs
getLang()
Set the ExecutionEnvironment::storageTCPPortString
getName()
Get the ExecutionEnvironment::nameint
getPort()
Get the ExecutionEnvironment::storageTCPPortint
hashCode()
void
setDataClayInstanceID(DataClayInstanceID thedataClayInstanceID)
Set the ExternalExecutionEnvironment::dataClayInstanceIDvoid
setHostname(String newhostname)
Set the ExecutionEnvironment::hostnamevoid
setLang(CommonMessages.Langs newlang)
Set the ExecutionEnvironment::langvoid
setName(String newname)
Set the ExecutionEnvironment::namevoid
setPort(int newport)
Set the ExecutionEnvironment::portString
toString()
-
Methods inherited from class es.bsc.dataclay.util.MgrObject
getDataClayID, setDataClayID
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface es.bsc.dataclay.api.Backend
getDataClayID
-
-
-
-
Constructor Detail
-
ExternalExecutionEnvironment
public ExternalExecutionEnvironment()
Empty constructor of the ExecutionEnvironment
-
ExternalExecutionEnvironment
public ExternalExecutionEnvironment(DataClayInstanceID thedataClayInstanceID, String newhostname, String newname, int newtcpport, CommonMessages.Langs newlang)
ExecutionEnvironment specification constructor- Parameters:
newhostname
- Host name of the Execution Environmentnewname
- Name of the Execution Environmentnewtcpport
- TCP Port of the Execution Environmentnewlang
- Language for this Execution Environment
-
-
Method Detail
-
getDataClayInstanceID
public DataClayInstanceID getDataClayInstanceID()
Get the ExternalExecutionEnvironment::dataClayInstanceID- Returns:
- the dataClay instance ID this EE belongs to
-
setDataClayInstanceID
public void setDataClayInstanceID(DataClayInstanceID thedataClayInstanceID)
Set the ExternalExecutionEnvironment::dataClayInstanceID- Parameters:
thedataClayInstanceID
- the dataClayInstanceID to set
-
getHostname
public String getHostname()
Get the ExecutionEnvironment::hostname- Specified by:
getHostname
in interfaceBackend
- Returns:
- the hostname
-
setHostname
public void setHostname(String newhostname)
Set the ExecutionEnvironment::hostname- Specified by:
setHostname
in interfaceBackend
- Parameters:
newhostname
- the hostname to set
-
getName
public String getName()
Get the ExecutionEnvironment::name
-
setName
public void setName(String newname)
Set the ExecutionEnvironment::name
-
getPort
public int getPort()
Get the ExecutionEnvironment::storageTCPPort
-
setPort
public void setPort(int newport)
Set the ExecutionEnvironment::port
-
getLang
public CommonMessages.Langs getLang()
Set the ExecutionEnvironment::storageTCPPort
-
setLang
public void setLang(CommonMessages.Langs newlang)
Set the ExecutionEnvironment::lang
-
getAddress
public String getAddress()
Get addrees of this EE.- Returns:
- Address.
-
equals
public boolean equals(Object t)
This operation allows to compare this object with other object.
-
-