Class RepositoryGovernanceClient

  • All Implemented Interfaces:
    RepositoryGovernanceAPI

    public class RepositoryGovernanceClient
    extends java.lang.Object
    implements RepositoryGovernanceAPI
    RepositoryGovernanceClient is a client-side library for calling a specific archive engine with an engine host server.
    • Constructor Summary

      Constructors 
      Constructor Description
      RepositoryGovernanceClient​(java.lang.String serverPlatformRootURL, java.lang.String serverName, java.lang.String repositoryGovernanceEngineName)
      Create a client-side object for calling a archive engine.
      RepositoryGovernanceClient​(java.lang.String serverPlatformRootURL, java.lang.String serverName, java.lang.String repositoryGovernanceEngineName, java.lang.String userId, java.lang.String password)
      Create a client-side object for calling a archive engine.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ConnectorReport validateConnector​(java.lang.String userId, java.lang.String connectorProviderClassName)
      Validate the connector and return its connector type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RepositoryGovernanceClient

        public RepositoryGovernanceClient​(java.lang.String serverPlatformRootURL,
                                          java.lang.String serverName,
                                          java.lang.String repositoryGovernanceEngineName)
                                   throws InvalidParameterException
        Create a client-side object for calling a archive engine.
        Parameters:
        serverPlatformRootURL - the root url of the platform where the archive engine is running.
        serverName - the name of the engine host server where the archive engine is running
        repositoryGovernanceEngineName - the unique name of the archive engine.
        Throws:
        InvalidParameterException - one of the parameters is null or invalid.
      • RepositoryGovernanceClient

        public RepositoryGovernanceClient​(java.lang.String serverPlatformRootURL,
                                          java.lang.String serverName,
                                          java.lang.String repositoryGovernanceEngineName,
                                          java.lang.String userId,
                                          java.lang.String password)
                                   throws InvalidParameterException
        Create a client-side object for calling a archive engine.
        Parameters:
        serverPlatformRootURL - the root url of the platform where the archive engine is running.
        serverName - the name of the engine host server where the archive engine is running
        repositoryGovernanceEngineName - the unique name of the archive engine.
        userId - user id for the HTTP request
        password - password for the HTTP request
        Throws:
        InvalidParameterException - one of the parameters is null or invalid.