Modifier and Type | Method and Description |
---|---|
static java.lang.String | getLoadScript(java.lang.String projectName) Returns JavaScript code to cache screens from a Project by name. |
static java.lang.String | getLoadScript(java.lang.String projectName, java.util.List screenNames) Returns JavaScript code to cache screens from a Project by name. |
static java.lang.String | getLoadScript(java.lang.String projectNames, ProjectLoadSettings settings) Returns JavaScript code to cache screens from a set of Projects by name. |
public static java.lang.String getLoadScript(java.lang.String projectName) throws java.lang.Exception
projectName
- The name of the Project to load. For Projects coming from the filesystem, the name is everything before any file extension. So for example if you have a Foo.proj.xml file, the name you would provide to this method should be "Foo".java.lang.Exception
public static java.lang.String getLoadScript(java.lang.String projectName, java.util.List screenNames) throws java.lang.Exception
projectName
- The name of the Project to load. For Projects coming from the filesystem, the name is everything before any file extension. So for example if you have a Foo.proj.xml file, the name you would provide to this method should be "Foo".screenNames
- The names of the screens to be loadedjava.lang.Exception
public static java.lang.String getLoadScript(java.lang.String projectNames, ProjectLoadSettings settings) throws java.lang.Exception
projectNames
- The names of the Projects to load. For Projects coming from the filesystem, the name is everything before any file extension. So for example if you have a Foo.proj.xml file, the name you would provide to this method should be "Foo".settings
- Additional settings to control the load processjava.lang.Exception