public class HPCCWsPackageProcessClient extends BaseHPCCWsClient
| Modifier and Type | Field and Description |
|---|---|
static String |
PACKAGEPROCESSURI |
DEAFULTECLWATCHPORT, DEFAULTECLWATCHTLSPORT, initErrMessage, stub, targetESPInterfaceVer, targetHPCCBuildVersion, verbose, wsconn| Modifier | Constructor and Description |
|---|---|
protected |
HPCCWsPackageProcessClient(Connection baseConnection)
Instantiates a new HPCC ws package process client.
|
protected |
HPCCWsPackageProcessClient(String protocol,
String targetHost,
String targetPort,
String user,
String pass)
Instantiates a new HPCC ws package process client.
|
protected |
HPCCWsPackageProcessClient(String protocol,
String targetHost,
String targetPort,
String user,
String pass,
int timeout)
Instantiates a new HPCC ws package process client.
|
| Modifier and Type | Method and Description |
|---|---|
BasePackageStatusWrapper |
activatePackage(boolean globalScope,
String packageMapName,
String process,
String target)
Activate package.
|
org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.AddPackageResponse |
addPackage(AddPackageRequestWrapper reqwrapper) |
org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.AddPackageResponse |
addPackage(String packageMapID,
String packageMapContent,
String targetCluster,
Boolean active,
Boolean allowforeignfiles,
Boolean appendcluster,
String daliip,
Boolean globalscope,
Boolean overwrite,
Boolean preloadallpackages,
String process,
Boolean replacepackagemap,
String sourceprocess,
Boolean updateclonefrom,
Boolean updatesuperfiles) |
org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.AddPackageResponse |
addPackage(String packageMapID,
String packageMapContent,
String targetCluster,
String daliip) |
org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.AddPackageResponse |
addPackage(String packageMapID,
String packageMapContent,
String targetCluster,
String daliip,
Boolean overwrite) |
org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.AddPackageResponse |
addPackage(String packageMapID,
String packageMapContent,
String targetCluster,
String daliip,
Boolean overwrite,
Boolean active) |
org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.DeletePackageResponse |
deletePackage(DeletePackageRequestWrapper reqwrapper) |
org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.DeletePackageResponse |
deletePackage(String packageMapID,
String targetcluster)
Request to delete package map, defaults to ALL process
|
org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.DeletePackageResponse |
deletePackage(String packageMapID,
String targetcluster,
String process)
Request to delete package map
|
org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.DeletePackageResponse |
deletePackage(String packageMapID,
String targetcluster,
String process,
Boolean globalscope)
Request to delete package map
|
static HPCCWsPackageProcessClient |
get(Connection connection)
Gets the.
|
org.apache.axis2.client.Stub |
getDefaultStub()
Gets the default stub.
|
BasePackageStatusWrapper |
getPackage(String process,
String target)
Gets the package.
|
String |
getPackageMapById(String packageMapName)
Gets the package map by id.
|
String |
getServiceURI()
Gets the service URI.
|
static int |
getServiceWSDLPort()
Gets the service WSDL port.
|
static String |
getServiceWSDLURL()
Gets the service WSDLURL.
|
List<PackageListMapDataWrapper> |
listPackages(String process,
String target,
String processFilter)
List packages.
|
boolean |
ping()
Ping.
|
BasePackageStatusWrapper |
removePartFromPackageMap(boolean globalScope,
String partName,
String target,
String packageMap)
Remove a part from a package map.
|
compatibilityCheck, compatibilityCheck, equals, fastRefresh, fullRefresh, getConnectionURL, getInitError, getServiceVersion, getServiceVersion, getServiceWSDLPort, getServiceWSDLURL, getStubConnectionTO, getTargetESPInterfaceVersion, getVerbose, handleECLExceptions, handleECLExceptions, handleEspExceptions, handleEspExceptions, handleEspSoapFaults, handleEspSoapFaults, hashCode, hasInitError, isComplete, loadESPRuntimeInterfaceVer, setActiveConnectionInfo, setClientAuth, setStubConnectionTO, setStubOptions, setVerbose, verifyStubmonitoraddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic static final String PACKAGEPROCESSURI
protected HPCCWsPackageProcessClient(Connection baseConnection)
baseConnection - the base connectionprotected HPCCWsPackageProcessClient(String protocol, String targetHost, String targetPort, String user, String pass)
protocol - the protocoltargetHost - the target hosttargetPort - the target portuser - the userpass - the passprotected HPCCWsPackageProcessClient(String protocol, String targetHost, String targetPort, String user, String pass, int timeout)
protocol - the protocoltargetHost - the target hosttargetPort - the target portuser - the userpass - the passtimeout - the timeoutpublic String getServiceURI()
getServiceURI in class BaseHPCCWsClientpublic static String getServiceWSDLURL()
public static int getServiceWSDLPort()
public static HPCCWsPackageProcessClient get(Connection connection)
connection - the connectionpublic boolean ping()
throws Exception
Exception - the exceptionpublic org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.AddPackageResponse addPackage(String packageMapID, String packageMapContent, String targetCluster, String daliip) throws Exception
packageMapID - - The name of the new packagemappackageMapContent - - The packagemap contenttargetCluster - - The packagemap cluster namedaliip - - The target Dali IP
All other request values are defaultedExceptionpublic org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.AddPackageResponse addPackage(String packageMapID, String packageMapContent, String targetCluster, String daliip, Boolean overwrite) throws Exception
packageMapID - - The name of the new packagemappackageMapContent - - The packagemap contenttargetCluster - - The packagemap cluster namedaliip - - The target Dali IPoverwrite - - Option to overwrite package map is pre-existing
All other request values are defaultedExceptionpublic org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.AddPackageResponse addPackage(String packageMapID, String packageMapContent, String targetCluster, String daliip, Boolean overwrite, Boolean active) throws Exception
packageMapID - - The name of the new packagemappackageMapContent - - The packagemap contenttargetCluster - - The packagemap cluster namedaliip - - The target Dali IPoverwrite - - Option to overwrite package map is pre-existingacrive - - Option to set new package map as active
All other request values are defaultedExceptionpublic org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.AddPackageResponse addPackage(String packageMapID, String packageMapContent, String targetCluster, Boolean active, Boolean allowforeignfiles, Boolean appendcluster, String daliip, Boolean globalscope, Boolean overwrite, Boolean preloadallpackages, String process, Boolean replacepackagemap, String sourceprocess, Boolean updateclonefrom, Boolean updatesuperfiles) throws Exception
packageMapID - - The name of the new packagemappackageMapContent - - The packagemap contenttargetCluster - - The packagemap cluster nameactive - - Option to set new package map as activeallowforeignfiles - - Option to allow foreing filesappendcluster - - Option to append clusterdaliip - - The target Dali IPglobalscope - - Global scope optionoverwrite - - Option to overwrite package map is pre-existingpreloadallpackages - - Option to pre-load all packagesprocess - - Target processreplacepackagemap - - Option to replace packagemapsourceprocess - - The source processupdateclonefrom - - Option to update clone fromupdatesuperfiles - - Option to update superfilesExceptionpublic org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.AddPackageResponse addPackage(AddPackageRequestWrapper reqwrapper) throws Exception
reqwrapper - - Add package request options object (AddPackageRequestWrapper)
Caller is responsible for setting all options appropriately
This call might override server side defaultsExceptionpublic org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.DeletePackageResponse deletePackage(String packageMapID, String targetcluster) throws Exception
packageMapID - - The packagemap to deletetargetcluster - - The packagemap clusterExceptionpublic org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.DeletePackageResponse deletePackage(String packageMapID, String targetcluster, String process) throws Exception
packageMapID - - The packagemap to deletetargetcluster - - The packagemap clusterprocess - - The processExceptionpublic org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.DeletePackageResponse deletePackage(String packageMapID, String targetcluster, String process, Boolean globalscope) throws Exception
packageMapID - - The packagemap to deletetargetcluster - - The packagemap clusterprocess - - The processglobalscope - - Is the target packagemap global scopedExceptionpublic org.hpccsystems.ws.client.gen.axis2.wspackageprocess.v1_04.DeletePackageResponse deletePackage(DeletePackageRequestWrapper reqwrapper) throws Exception
reqwrapper - - Delete package request options object (DeletePackageRequestWrapper)
Caller is responsible for setting all options appropriately
This call might override server side defaultsExceptionpublic String getPackageMapById(String packageMapName) throws Exception, ArrayOfEspExceptionWrapper
packageMapName - the package map nameException - - Caller should handle exception in case of errorsArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic BasePackageStatusWrapper activatePackage(boolean globalScope, String packageMapName, String process, String target) throws Exception, ArrayOfEspExceptionWrapper
globalScope - the global scopepackageMapName - the package map nameprocess - the processtarget - the targetException - - Caller should handle exception in case of errorsArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic BasePackageStatusWrapper getPackage(String process, String target) throws Exception, ArrayOfEspExceptionWrapper
process - the processtarget - the targetException - - Caller should handle exception in case of errorsArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic BasePackageStatusWrapper removePartFromPackageMap(boolean globalScope, String partName, String target, String packageMap) throws Exception
globalScope - Global or non global scoped.partName - The part name to remove.target - The target.packageMap - The package map id.Exception - - Caller should handle exception in case of errorspublic List<PackageListMapDataWrapper> listPackages(String process, String target, String processFilter) throws Exception, ArrayOfEspExceptionWrapper
process - the processtarget - the targetprocessFilter - the process filterException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic org.apache.axis2.client.Stub getDefaultStub()
throws org.apache.axis2.AxisFault
BaseHPCCWsClientgetDefaultStub in class BaseHPCCWsClientorg.apache.axis2.AxisFault - the axis faultCopyright © 2021. All rights reserved.