Class XmlExportGshScript
java.lang.Object
edu.internet2.middleware.grouper.xml.export.XmlExportGshScript
new File("c:/temp/script.gsh").delete();
grouperSession = GrouperSession.startRootSession();
new edu.internet2.middleware.grouper.xml.export.XmlExportGshScript().assignStemName(":").assignFileNameToWriteTo("c:/temp/script.gsh").exportGsh();
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddObjectName
(String theObjectName) assignFileNameToWriteTo
(String theFileName) file to write toassignStemId
(String theStemId) assign a parent stemassignStemName
(String theStemName) assign a parent stemvoid
write GSH to the file
-
Constructor Details
-
XmlExportGshScript
public XmlExportGshScript()
-
-
Method Details
-
assignStemId
assign a parent stem- Parameters:
theStemId
-- Returns:
- this for chaining
-
addObjectName
- Parameters:
theObjectName
-- Returns:
- this for chaining
-
assignStemName
assign a parent stem- Parameters:
theStemName
-- Returns:
- this for chaining
-
assignFileNameToWriteTo
file to write to- Parameters:
theFileName
-- Returns:
- this for chaining
-
exportGsh
public void exportGsh()write GSH to the file
-