|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ZOSResourceRuleFactory
A resource rule factory returns scheduling rules for API methods that modify
a ZOSResource model.
| Field Summary | |
|---|---|
static String |
COPY_RIGHT
|
static ZOSResourceRuleFactory |
INSTANCE
|
| Method Summary | |
|---|---|
ISchedulingRule |
genericMappingRule(String systemName)
Returns the scheduling rule that is required for setting generic mapping. |
ISchedulingRule |
specificMappingRule(ZOSResource resource)
Returns the scheduling rule that is required for setting specific mapping. |
ISchedulingRule |
updateLogicalRule(String systemName,
String pathName)
Returns the scheduling rule that is required for updating logical layer. |
ISchedulingRule |
updateLogicalRule(ZOSResource resource)
Returns the scheduling rule that is required for updating logical layer. |
| Field Detail |
|---|
static final String COPY_RIGHT
static final ZOSResourceRuleFactory INSTANCE
| Method Detail |
|---|
ISchedulingRule updateLogicalRule(ZOSResource resource)
This method is intended to be called from ZOSResource layer
or in the case you already have a ZOSResource. When calling
from LZOSResource layer and the caller may not have
ZOSResource yet, use
ZOSResourceRuleFactory.updateLogicalRule(String, String) to enable deferred loading of
physical resources.
resource - the physical resource which logical layer being updated
null
ISchedulingRule updateLogicalRule(String systemName,
String pathName)
This method can be called without obtaining ZOSResource.
When calling from LZOSResource layer and the caller may not
have ZOSResource yet, use this method. For example,
IRemoteResourceState state = ((IRemoteResource) logicalResource).getState();
if (state != null) {
rule = ZOSResourceRuleFactory.INSTANCE.updateLogicalRule(state
.getPhysicalResourceSystemName(), state
.getPhysicalResourcePathName());
}
systemName - the name of the system containing the target resourcepathName - the path of the physical resource which logical layer being
updated
nullZOSResourceRuleFactory.updateLogicalRule(ZOSResource)ISchedulingRule genericMappingRule(String systemName)
systemName - the name of the system containing the target resource
nullISchedulingRule specificMappingRule(ZOSResource resource)
resource - the target resource to set the specific mapping
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||