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 projectName, ProjectLoadSettings projectLoadSettings) Returns JavaScript code to cache screens from a Project 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 projectName, ProjectLoadSettings projectLoadSettings) 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".projectLoadSettings
- Additional settings to control the load processjava.lang.Exception