|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.ftt.properties.impl.AbstractPropertyGroupContainer
com.ibm.ftt.properties.zos.ZOSPropertyGroupContainer
public class ZOSPropertyGroupContainer
Implements property group containers for the z/OS property group manager. Do not create instances
of this class--the ZOSPropertyGroupManager creates a container when a host connection
is created and deletes a container when a host connection is deleted.
The getSystem() method returns the name of the ZOSSystemImage for this container.
| Field Summary | |
|---|---|
static String |
COPY_RIGHT
|
| Method Summary | |
|---|---|
void |
addPropertyGroup(IPropertyGroup group)
|
void |
deleteOverridesInSubprojects()
|
void |
deletePropertyGroup(IPropertyGroup propertyGroup)
Removes the given property group from the container. |
void |
exportAllPropertyGroups(OutputStream output)
Exports all of the property groups from this container into a file. |
void |
exportPropertyGroups(List<IPropertyGroup> propertyGroups,
OutputStream output)
Exports the given property groups from this container to the given file. |
List<IPropertyGroup> |
getPropertyGroups()
Returns the property groups in the container. |
String |
getSystem()
Returns the system for the container. |
void |
importPropertyGroups(InputStream input)
Imports property groups from the given input stream into this container. |
void |
load()
Loads all of the property groups in the container from a persistent store. |
void |
save()
Saves all of the property groups in the container to a persistent store. |
String |
toString()
Returns the system for the container. |
| Methods inherited from interface com.ibm.ftt.properties.IPropertyGroupContainer |
|---|
createPropertyGroup, getPropertyGroupManager |
| Field Detail |
|---|
public static final String COPY_RIGHT
| Method Detail |
|---|
public void deletePropertyGroup(IPropertyGroup propertyGroup)
deletePropertyGroup in interface IPropertyGroupContainerdeletePropertyGroup in class com.ibm.ftt.properties.impl.AbstractPropertyGroupContainerpropertyGroup - The property group to delete
public void exportAllPropertyGroups(OutputStream output)
throws IOException
exportAllPropertyGroups in interface IPropertyGroupContainerexportAllPropertyGroups in class com.ibm.ftt.properties.impl.AbstractPropertyGroupContaineroutput - The output stream to write the property groups to. The output stream must
be open and ready to be written to.
IOException - If there is a error writing to the output stream.
public void exportPropertyGroups(List<IPropertyGroup> propertyGroups,
OutputStream output)
throws IOException
exportPropertyGroups in interface IPropertyGroupContainerexportPropertyGroups in class com.ibm.ftt.properties.impl.AbstractPropertyGroupContainerpropertyGroups - A list of property groups from this container to export.output - An output stream to write the property groups to. The output stream
must be open and ready to be written to.
IOException - If there is an error writing to the output stream.public List<IPropertyGroup> getPropertyGroups()
getPropertyGroups in interface IPropertyGroupContainergetPropertyGroups in class com.ibm.ftt.properties.impl.AbstractPropertyGroupContainer
public void importPropertyGroups(InputStream input)
throws DuplicatePropertyGroupException,
IOException,
UnregisteredCategoryException,
UnregisteredPropertyException,
DuplicateInstanceException
importPropertyGroups in interface IPropertyGroupContainerimportPropertyGroups in class com.ibm.ftt.properties.impl.AbstractPropertyGroupContainerinput - The input stream to read. It must be open and ready to be read from.
DuplicatePropertyGroupException - If there is a property group in the input
stream with the same name as one in the container.
IOException - If there is an error reading from the input stream.
UnregisteredCategoryException - If there is a category instance that points to
a category that has not been registered with the property group manager.
UnregisteredPropertyException - If there is a property in the file that has
not been registered with the property group manager.
DuplicateInstanceException - If there is a category instance in the file that
is a duplicate.public void load()
load in interface IPropertyGroupContainerload in class com.ibm.ftt.properties.impl.AbstractPropertyGroupContainer
public void save()
throws IOException
save in interface IPropertyGroupContainersave in class com.ibm.ftt.properties.impl.AbstractPropertyGroupContainerIOException - If an input output error occurs when saving.public String getSystem()
IHost.
public String toString()
toString in class Objectpublic void addPropertyGroup(IPropertyGroup group)
addPropertyGroup in class com.ibm.ftt.properties.impl.AbstractPropertyGroupContainerpublic void deleteOverridesInSubprojects()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||