public abstract class MvsResource extends AbstractResource implements ISavableResource
| Constructor and Description |
|---|
MvsResource(ISubSystem pSubSys)
Constructs a new MVS resource.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAbsoluteName() |
IGetDataResponse |
getContents(org.eclipse.core.runtime.IProgressMonitor pMon) |
IMvsSubsystem |
getSubSystem() |
ISystemImage |
getSystemImage() |
boolean |
hasSuffix() |
void |
refresh(org.eclipse.core.runtime.IProgressMonitor pMon) |
void |
rename(java.lang.String pName,
org.eclipse.core.runtime.IProgressMonitor pMon) |
void |
save(java.io.InputStream pIs)
Overwrites the resource's content with the given
InputStream. |
void |
unlock(org.eclipse.core.runtime.IProgressMonitor pMon)
Uses the
DEQUEUE zServer command to reset the exclusive
access (enqueue) of this resource. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic MvsResource(ISubSystem pSubSys)
pSubSys - the sub system to which the resource belongspublic void save(java.io.InputStream pIs)
throws java.io.IOException
ISavableResourceInputStream.save in interface ISavableResourcepIs - the new content of the resourcejava.io.IOException - if a I/O exception of any kind occurs during the save actionpublic IMvsSubsystem getSubSystem()
public void unlock(org.eclipse.core.runtime.IProgressMonitor pMon)
throws java.io.IOException
DEQUEUE zServer command to reset the exclusive
access (enqueue) of this resource.
Warning: DEQUEUE works for resources that are in
exclusive use from other users.
unlock in interface ISavableResourcepMon - progress monitorjava.io.IOException - if unlocking the resource failspublic IGetDataResponse getContents(org.eclipse.core.runtime.IProgressMonitor pMon) throws java.io.IOException, DatasetMigatedException
java.io.IOExceptionDatasetMigatedExceptionpublic void rename(java.lang.String pName,
org.eclipse.core.runtime.IProgressMonitor pMon)
throws java.io.IOException
java.io.IOExceptionpublic void refresh(org.eclipse.core.runtime.IProgressMonitor pMon)
throws java.io.IOException
java.io.IOExceptionpublic boolean hasSuffix()
public ISystemImage getSystemImage()
public java.lang.String getAbsoluteName()
Copyright © 2015 Micro Focus GmbH. All rights reserved.