java.lang.Object
com.flexstor.flexdbserver.services.asset.TypeServiceMapper
- public class TypeServiceMapper
- extends java.lang.Object
TypeServiceMapper provides functionality to read Services
mapped to a file Type from an input file.
- Version:
- 2.2
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_TAG
protected final java.lang.String SERVICE_TAG
- TAG used to identify a property as a service. This TAG must be part of
the property name in the mapping file followed by a number which defines
the execution order for the service. Ex: service3 must be executed before
service5 .
- See Also:
- Constant Field Values
DEFAULT_TYPE
protected final java.lang.String DEFAULT_TYPE
- TAG used to identify the default Type. This TAG must be included as a type
in the mapping file defining the services to be executed if a specific type
mapping is not defined.
- See Also:
- Constant Field Values
pm
protected com.flexstor.common.util.PropertyMapper pm
- PropertyMapper object used to access the Type - Services mapping file.
TypeServiceMapper
public TypeServiceMapper(java.lang.String sFileName)
throws java.io.FileNotFoundException,
java.io.IOException
getTypes
public java.lang.String[] getTypes()
- Retrieves the Types mapped in the mapping file ( not including "Default" ).
getServices
public TypeServiceMapper.TypeService[] getServices(java.lang.String sType)
- Retrieves the Services mapped to a specified file Type.
getValue
public java.lang.String getValue(java.lang.String sSection,
java.lang.String sProperty)
- Retrieves the value for a specific property within a section.