com.ibm.zosconnect.spi
Interface SarFile
-
public interface SarFile
Representation of a SAR file that can be used by aServiceFactory
to create, update or delete a Service.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
copyright_notice
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.String
getDescription()
java.lang.String
getFileName()
com.ibm.zosconnect.sar.ZosConnectServiceArchiveManifest
getManifest()
java.lang.String
getName()
ServiceArchiveObject
getObject(java.lang.String name)
java.util.Map<java.lang.String,java.lang.Object>
getProperties()
java.lang.Object
getProperty(java.lang.String name)
com.ibm.json.java.JSONObject
getRequestSchema()
com.ibm.json.java.JSONObject
getResponseSchema()
java.lang.String
getVersion()
-
-
-
Field Detail
-
copyright_notice
static final java.lang.String copyright_notice
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescription
java.lang.String getDescription()
- Returns:
- The description of the Service
-
getName
java.lang.String getName()
- Returns:
- The name of the service. This needs to be unique in the z/OS Connect EE runtime
-
getManifest
com.ibm.zosconnect.sar.ZosConnectServiceArchiveManifest getManifest()
- Returns:
- The SAR manifest.
-
getVersion
java.lang.String getVersion()
- Returns:
- The version of the Service
-
getProperties
java.util.Map<java.lang.String,java.lang.Object> getProperties()
- Returns:
- The properties stored in the SAR file.
-
getProperty
java.lang.Object getProperty(java.lang.String name)
- Parameters:
name
- The name of the property- Returns:
- The value stored in the SAR file for the property name, or null if the property doesn't exist
-
getResponseSchema
com.ibm.json.java.JSONObject getResponseSchema()
- Returns:
- The JSON response schema describing response objects from the Service
-
getRequestSchema
com.ibm.json.java.JSONObject getRequestSchema()
- Returns:
- The JSON request schema describing request objects to the Service
-
getObject
ServiceArchiveObject getObject(java.lang.String name)
- Parameters:
name
- The name of the object- Returns:
- The object stored in the SAR file for the object name, or null if the object doesn't exist
-
getFileName
java.lang.String getFileName()
- Returns:
- The name of the file on the disk
-
-