Package caseine
Class Push
java.lang.Object
caseine.Push
Deprecated, for removal: This API element is subject to removal in a future version.
The push command for the vpl design tool. It can be used to generate locally the caseine structure
and remotely the VPL files( Requested Files, Execution Files, Corrected Files).
-
Constructor Summary
ConstructorsConstructorDescriptionPush()Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDeprecated, for removal: This API element is subject to removal in a future version.Cleans the local templates.static booleanisGenerated(String projectPath) Deprecated, for removal: This API element is subject to removal in a future version.static voidlistDirectory(File file, String prefix, List<String> liste) Deprecated, for removal: This API element is subject to removal in a future version.static voidDeprecated, for removal: This API element is subject to removal in a future version.static voidpublish(String projectPath, ClassLoader contextClassLoader) Deprecated, for removal: This API element is subject to removal in a future version.Generates the local templates.static voidpublishMoodle(String projectPath, String vplId, String token, String url) Deprecated, for removal: This API element is subject to removal in a future version.Publishes the templates to the remote caseine server.
-
Constructor Details
-
Push
public Push()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
main
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
args- command line argument- Throws:
Exception- if something wrong
-
publish
public static void publish(String projectPath, ClassLoader contextClassLoader) throws IOException, ClassNotFoundException Deprecated, for removal: This API element is subject to removal in a future version.Generates the local templates.- Parameters:
projectPath- the project locationcontextClassLoader-- Throws:
IOException- if ioExceptionClassNotFoundException- if the class is not found
-
publishMoodle
public static void publishMoodle(String projectPath, String vplId, String token, String url) throws IOException, ClassNotFoundException, vplwsclient.exception.VplException Deprecated, for removal: This API element is subject to removal in a future version.Publishes the templates to the remote caseine server.- Parameters:
projectPath- the local pathvplId- the id of the VPLtoken- your token to be authenticatedurl- optionnal url- Throws:
IOException- if something wrongClassNotFoundException- if something wrongvplwsclient.exception.VplException- if something wrong
-
clean
Deprecated, for removal: This API element is subject to removal in a future version.Cleans the local templates.- Parameters:
projectPath- the project location- Throws:
IOException- if an error occurs with the deleted files
-
isGenerated
Deprecated, for removal: This API element is subject to removal in a future version. -
listDirectory
Deprecated, for removal: This API element is subject to removal in a future version.
-