Package caseine

Class Push

java.lang.Object
caseine.Push

@Deprecated(since="0.0.60", forRemoval=true) public class Push extends Object
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

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    clean(String projectPath)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Cleans the local templates.
    static boolean
    isGenerated(String projectPath)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static void
    listDirectory(File file, String prefix, List<String> liste)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static void
    main(String[] args)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static void
    publish(String projectPath, ClassLoader contextClassLoader)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generates the local templates.
    static void
    publishMoodle(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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Push

      public Push()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      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 location
      contextClassLoader -
      Throws:
      IOException - if ioException
      ClassNotFoundException - 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 path
      vplId - the id of the VPL
      token - your token to be authenticated
      url - optionnal url
      Throws:
      IOException - if something wrong
      ClassNotFoundException - if something wrong
      vplwsclient.exception.VplException - if something wrong
    • clean

      public static void clean(String projectPath) throws IOException
      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

      public static boolean isGenerated(String projectPath)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • listDirectory

      public static void listDirectory(File file, String prefix, List<String> liste)
      Deprecated, for removal: This API element is subject to removal in a future version.