|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ZOSResource
An abstract interface for an object that represents a resource in a z/OS system.
| Field Summary | |
|---|---|
static String |
COPY_RIGHT
|
| Method Summary | |
|---|---|
void |
copy(IPhysicalResource targetFolder,
String name,
boolean force,
boolean lock,
IProgressMonitor monitor)
Copies this resource into the target container. |
String |
getCharset()
|
com.ibm.ftt.resources.zos.mapping.MVSFileMapping |
getMVSFileMapping()
Returns a new MVS file mapping object representing the mapping attributes actually applied to this resource. |
com.ibm.ftt.resources.zos.mapping.MVSFileMapping |
getMVSFileMappingOverride()
Returns a copy of MVS file mapping object representing the mapping override for this specific resource. |
String |
getName()
Returns the name of this resource. |
ZOSResourceIdentifier |
getResourceIdentifier()
Returns a z/OS resource identifier. |
void |
setMVSFileMappingOverride(com.ibm.ftt.resources.zos.mapping.MVSFileMapping mapping)
Sets a mapping override to this resource. |
| Methods inherited from interface com.ibm.ftt.resources.core.physical.IPhysicalResource |
|---|
delete, deleteOverriddenPropertiesInCategory, deleteOverride, exists, getCurrentPropertyGroup, getFullPath, getModificationStamp, getModificationStamp, getOverriddenProperties, getParent, getPersistentProperty, getResourcePublisher, getSessionProperty, refresh, rename, setCurrentPropertyGroup, setOverride, setPersistentProperty, setSessionProperty |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Field Detail |
|---|
static final String COPY_RIGHT
| Method Detail |
|---|
void copy(IPhysicalResource targetFolder,
String name,
boolean force,
boolean lock,
IProgressMonitor monitor)
throws OperationFailedException
Currently the copy method is implemented only for
ZOSDataSetMember with a target container of type
ZOSPartitionedDataSet and ZOSSequentialDataSet with a
target container of type ZOSCatalog.
targetFolder - target container to create the new resource inname - name of the new resource that will be created. The name should
be unique in the target containerforce - currently not usedlock - true if the target container should be locked
before copyingmonitor - a progress monitor, or null if progress reporting is not
desired
OperationFailedExceptionString getName()
IPhysicalResource
getName in interface IPhysicalResourceZOSResourceIdentifier getResourceIdentifier()
com.ibm.ftt.resources.zos.mapping.MVSFileMapping getMVSFileMappingOverride()
The returned mapping contains value for overridden attributes, or
null for attributes to be inherited. Changing the mapping
object itself does not affects this resource. To apply any changes, it
must be set by calling ZOSResource.setMVSFileMappingOverride(MVSFileMapping).
ZOSResource.setMVSFileMappingOverride(MVSFileMapping),
ZOSResource.getMVSFileMapping()com.ibm.ftt.resources.zos.mapping.MVSFileMapping getMVSFileMapping()
The returned mapping contains values determined by merging all the
inherited values and overridden values defined through z/OS File System
Mapping view and resource property pages. Changing the mapping object
itself does not affects this resource. If any mapping attributes need to
be changed for this specific resource, mapping override can be set by
calling ZOSResource.setMVSFileMappingOverride(MVSFileMapping).
ZOSResource.getMVSFileMappingOverride(),
ZOSResource.setMVSFileMappingOverride(MVSFileMapping)void setMVSFileMappingOverride(com.ibm.ftt.resources.zos.mapping.MVSFileMapping mapping)
The mapping can contain values to override inherited attributes, or
null for attributes to be inherited.
When this method is called, UI refresh may occur according to the setting, for example, file extension change, etc.
mapping - the mapping object to set. If null is
specified, mapping override will be cleaned from this resourceZOSResource.getMVSFileMappingOverride(),
ZOSResource.getMVSFileMapping()
String getCharset()
throws OperationFailedException
OperationFailedException#getContents(), {@link IPhysicalFile#getCharset()}
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||