9.7. scriptUtil

Provides utilities to use for writing CLI scripts.
Method Signature
scriptUtil.findResources
PageList<Resource> findResources(String)
scriptUtil.getFileBytes
byte[] getFileBytes(String)
scriptUtil.isDefined
boolean isDefined(String)
scriptUtil.saveBytesToFile
saveBytesToFile(byte[], String)
scriptUtil.sleep
sleep(long)
scriptUtil.waitForScheduledOperationToComplete
ResourceOperationHistory waitForScheduledOperationToComplete(ResourceOperationSchedule, long, int)
ResourceOperationHistory waitForScheduledOperationToComplete(ResourceOperationSchedule)