public class MasterConfigurationProvider extends java.lang.Object implements IMasterConfigurationProvider
IMasterConfigurationProvider extension.
Not intended to be sub-classed by clients.| Modifier and Type | Field and Description |
|---|---|
static int |
FORMAT_FLAT
Master configuration FLAT format
|
static int |
FORMAT_XML
Master configuration XML format
|
| Constructor and Description |
|---|
MasterConfigurationProvider(IMasterConfigurationProvider pProvider,
java.lang.String pType,
java.lang.String pFormat)
Basic constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getFormat()
Gets the format of the master configuration provider (
FORMAT_XML
or FORMAT_FLAT). |
java.io.InputStream |
getMasterConfiguration(ISystemImage pImg)
Method called by TAURUS if a master configuration is needed.
|
java.lang.String |
getType()
Gets the type of the master configuration provider (e.g.
|
int |
parseFormat(java.lang.String pFormat)
Converts the format string into the integer flag (
FORMAT_FLAT or
FORMAT_XML). |
public static final int FORMAT_FLAT
public static final int FORMAT_XML
public MasterConfigurationProvider(IMasterConfigurationProvider pProvider, java.lang.String pType, java.lang.String pFormat)
pProvider - the master configuration provider (from the extension)pType - the system typepFormat - the format (XML or FLAT)public int getFormat()
FORMAT_XML
or FORMAT_FLAT).public java.lang.String getType()
zOS
)public java.io.InputStream getMasterConfiguration(ISystemImage pImg) throws java.io.IOException
IMasterConfigurationProvidergetMasterConfiguration in interface IMasterConfigurationProviderpImg - the corresponding ISystemImagejava.io.IOException - if the master configuration cannot be retrieved for some
reasonpublic int parseFormat(java.lang.String pFormat)
FORMAT_FLAT or
FORMAT_XML).pFormat - the format string (XML or FLAT)Copyright © 2015 Micro Focus GmbH. All rights reserved.