gr.uoa.di.madgik.rr.element.execution
Class ExecutionServer
java.lang.Object
gr.uoa.di.madgik.rr.element.RRElement
gr.uoa.di.madgik.rr.element.execution.ExecutionServer
- All Implemented Interfaces:
- gr.uoa.di.madgik.rr.element.IRRElement
public class ExecutionServer
- extends gr.uoa.di.madgik.rr.element.RRElement
|
Method Summary |
String |
deepToString()
|
void |
delete(boolean deleteDetails,
gr.uoa.di.madgik.rr.RRContext.DatastoreType persistencyType)
|
boolean |
exists(gr.uoa.di.madgik.rr.RRContext.DatastoreType persistencyType)
|
static List<ExecutionServer> |
getAll(boolean loadDetails)
|
HostingNode |
getHostingNode()
|
String |
getID()
|
gr.uoa.di.madgik.rr.RRContext |
getISContext()
|
ExecutionServerDao |
getItem()
|
static ExecutionServer |
getMatchingNode(boolean loadDetails,
String requirementExpression,
String rankingExpression)
|
static ExecutionServer |
getMatchingNode(boolean loadDetails,
String requirementExpression,
String rankingExpression,
gr.uoa.di.madgik.commons.infra.nodeselection.NodeSelector selector)
|
static List<ExecutionServer> |
getMatchingNodes(boolean loadDetails,
String requirementExpression,
String rankingExpression)
|
static List<ExecutionServer> |
getMatchingNodes(boolean loadDetails,
String requirementExpression,
String rankingExpression,
gr.uoa.di.madgik.commons.infra.nodeselection.NodeSelector selector)
|
String |
getPort()
|
Set<String> |
getScopes()
|
boolean |
isEqual(gr.uoa.di.madgik.rr.element.IRRElement target,
boolean includeDetails)
|
boolean |
load(boolean loadDetails,
gr.uoa.di.madgik.rr.RRContext.DatastoreType persistencyType)
|
boolean |
load(boolean loadDetails,
gr.uoa.di.madgik.rr.RRContext.DatastoreType persistencyType,
boolean overridePrefetched)
|
void |
setDirty()
|
void |
setID(String id)
|
void |
setPort(String port)
|
void |
setScopes(Set<String> scopes)
|
void |
store(boolean storeDetails,
gr.uoa.di.madgik.rr.RRContext.DatastoreType persistencyType)
|
| Methods inherited from class gr.uoa.di.madgik.rr.element.RRElement |
delete, delete, exists, exists, load, load, store, store |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecutionServer
public ExecutionServer()
throws gr.uoa.di.madgik.rr.ResourceRegistryException
- Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException
getISContext
public gr.uoa.di.madgik.rr.RRContext getISContext()
getID
public String getID()
setID
public void setID(String id)
getScopes
public Set<String> getScopes()
setScopes
public void setScopes(Set<String> scopes)
getPort
public String getPort()
setPort
public void setPort(String port)
getHostingNode
public HostingNode getHostingNode()
getItem
public ExecutionServerDao getItem()
setDirty
public void setDirty()
load
public boolean load(boolean loadDetails,
gr.uoa.di.madgik.rr.RRContext.DatastoreType persistencyType,
boolean overridePrefetched)
throws gr.uoa.di.madgik.rr.ResourceRegistryException
- Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException
load
public boolean load(boolean loadDetails,
gr.uoa.di.madgik.rr.RRContext.DatastoreType persistencyType)
throws gr.uoa.di.madgik.rr.ResourceRegistryException
- Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException
delete
public void delete(boolean deleteDetails,
gr.uoa.di.madgik.rr.RRContext.DatastoreType persistencyType)
throws gr.uoa.di.madgik.rr.ResourceRegistryException
- Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException
store
public void store(boolean storeDetails,
gr.uoa.di.madgik.rr.RRContext.DatastoreType persistencyType)
throws gr.uoa.di.madgik.rr.ResourceRegistryException
- Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException
isEqual
public boolean isEqual(gr.uoa.di.madgik.rr.element.IRRElement target,
boolean includeDetails)
throws gr.uoa.di.madgik.rr.ResourceRegistryException
- Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException
deepToString
public String deepToString()
exists
public boolean exists(gr.uoa.di.madgik.rr.RRContext.DatastoreType persistencyType)
throws gr.uoa.di.madgik.rr.ResourceRegistryException
- Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException
getAll
public static List<ExecutionServer> getAll(boolean loadDetails)
throws gr.uoa.di.madgik.rr.ResourceRegistryException
- Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException
getMatchingNodes
public static List<ExecutionServer> getMatchingNodes(boolean loadDetails,
String requirementExpression,
String rankingExpression)
throws gr.uoa.di.madgik.rr.ResourceRegistryException
- Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException
getMatchingNodes
public static List<ExecutionServer> getMatchingNodes(boolean loadDetails,
String requirementExpression,
String rankingExpression,
gr.uoa.di.madgik.commons.infra.nodeselection.NodeSelector selector)
throws gr.uoa.di.madgik.rr.ResourceRegistryException
- Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException
getMatchingNode
public static ExecutionServer getMatchingNode(boolean loadDetails,
String requirementExpression,
String rankingExpression,
gr.uoa.di.madgik.commons.infra.nodeselection.NodeSelector selector)
throws gr.uoa.di.madgik.rr.ResourceRegistryException
- Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException
getMatchingNode
public static ExecutionServer getMatchingNode(boolean loadDetails,
String requirementExpression,
String rankingExpression)
throws gr.uoa.di.madgik.rr.ResourceRegistryException
- Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException
Copyright © 2012. All Rights Reserved.