Class CreateGovernanceZoneSample
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.samples.zonecreate.CreateGovernanceZoneSample
-
public class CreateGovernanceZoneSample extends Object
CreateGovernanceZoneSample illustrates the use of the Governance Program OMAS API to create governance zones for Coco Pharmaceuticals.
-
-
Constructor Summary
Constructors Constructor Description CreateGovernanceZoneSample(String serverName, String serverURLRoot, String clientUserId)Set up the parameters for the sample.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)Main program that controls the operation of the sample.voidrun()This runs the sample
-
-
-
Method Detail
-
run
public void run()
This runs the sample
-
main
public static void main(String[] args)
Main program that controls the operation of the sample. The parameters are passed space separated. The file name must be passed as parameter 1. The other parameters are used to override the sample's default values.- Parameters:
args- 1. file name 2. server name, 3. URL root for the server, 4. client userId
-
-