Class GovernanceLeadershipSample
java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.samples.leadership.GovernanceLeadershipSample
GovernanceLeadershipSample provides a client program that calls the Governance Program OMAS.
-
Constructor Summary
ConstructorDescriptionGovernanceLeadershipSample
(String serverName, String serverURLRoot, String clientUserId) Constructor -
Method Summary
-
Constructor Details
-
GovernanceLeadershipSample
Constructor- Parameters:
serverName
- server to connect to.serverURLRoot
- server location to connect to.clientUserId
- user id to use to access metadata.
-
-
Method Details
-
run
public void run() throws InvalidParameterException, PropertyServerException, UserNotAuthorizedExceptionThis method runs the sample.- Throws:
InvalidParameterException
- one of the parameters is invalid.PropertyServerException
- there is a problem retrieving information from the property server(s).UserNotAuthorizedException
- the requesting user is not authorized to issue this request.
-
main
The main program takes the URL root for the server.- Parameters:
args
- 1. server name, 2. URL root for the server, 3. client userId
-