org.eclipse.hyades.execution.local
Class SessionContext
java.lang.Object
org.eclipse.hyades.execution.local.SessionContext
public class SessionContext
- extends java.lang.Object
This class is used by SessionContextToSessionMap, HyadesSessionImpl and
TestExecutionHarness to facilitate reuse of Sessions.
|
Constructor Summary |
SessionContext(java.lang.String machine,
java.lang.String daemonType,
java.security.Principal principal)
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
SessionContext
public SessionContext(java.lang.String machine,
java.lang.String daemonType,
java.security.Principal principal)
getDaemonType
public java.lang.String getDaemonType()
- Returns:
getMachine
public java.lang.String getMachine()
- Returns:
getPrincipal
public java.security.Principal getPrincipal()
- Returns:
setDaemonType
public void setDaemonType(java.lang.String string)
- Parameters:
string -
setMachine
public void setMachine(java.lang.String string)
- Parameters:
string -
setPrincipal
public void setPrincipal(java.security.Principal principal)
- Parameters:
principal -
equals
public boolean equals(java.lang.Object arg0)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object