public class OslcYamlGenerator
extends java.lang.Object
Constructor and Description |
---|
OslcYamlGenerator() |
OslcYamlGenerator(java.lang.String tags) |
OslcYamlGenerator(UserInfo userInfo) |
OslcYamlGenerator(UserInfo userInfo,
java.lang.String tags) |
Modifier and Type | Method and Description |
---|---|
byte[] |
generateJson() |
byte[] |
generateYaml() |
java.lang.String |
generateYamlString() |
com.ibm.json.java.JSONObject |
getParamsObject() |
java.util.List<java.lang.String> |
getParamsObjectSource(java.lang.String methodName) |
java.util.List<java.lang.String> |
getResponseObjectSource(java.lang.String methodName) |
void |
paramsObjectSourceBuilder(java.lang.String methodName,
java.util.List<java.lang.String> paramsList) |
static com.ibm.json.java.JSONObject |
readFromStream(java.lang.String path,
java.lang.String filename) |
void |
setGetOSResourceChildObjectSet(OslcResourceInfo oslcRes,
java.lang.String osName,
OslcYaml oslcYaml) |
public OslcYamlGenerator() throws MXException
MXException
public OslcYamlGenerator(UserInfo userInfo) throws MXException
MXException
public OslcYamlGenerator(java.lang.String tags) throws MXException
MXException
public OslcYamlGenerator(UserInfo userInfo, java.lang.String tags) throws MXException
MXException
public com.ibm.json.java.JSONObject getParamsObject()
public void paramsObjectSourceBuilder(java.lang.String methodName, java.util.List<java.lang.String> paramsList)
public java.util.List<java.lang.String> getParamsObjectSource(java.lang.String methodName)
public java.util.List<java.lang.String> getResponseObjectSource(java.lang.String methodName)
public byte[] generateYaml() throws MXException, java.rmi.RemoteException, java.io.UnsupportedEncodingException
MXException
java.rmi.RemoteException
java.io.UnsupportedEncodingException
public java.lang.String generateYamlString() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public byte[] generateJson() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public static com.ibm.json.java.JSONObject readFromStream(java.lang.String path, java.lang.String filename) throws MXException
MXException
public void setGetOSResourceChildObjectSet(OslcResourceInfo oslcRes, java.lang.String osName, OslcYaml oslcYaml)