ResourceType.java [src/csip/annotations] Revision:   Date:
/*
 * $Id$
 *
 * This file is part of the Cloud Services Integration Platform (CSIP),
 * a Model-as-a-Service framework, API and application suite.
 *
 * 2012-2022, Olaf David and others, OMSLab, Colorado State University.
 *
 * OMSLab licenses this file to you under the MIT license.
 * See the LICENSE file in the project root for more information.
 */

package csip.annotations;

/**
 * Resource types.
 *
 * @author od
 */
public enum ResourceType {

  /**
   * The resource describes output of the model service.
   */
  OUTPUT,
  /**
   * This resource is a zip file and it should be unpacked.
   */
  ARCHIVE,
  /**
   * This resource is a file.
   */
  FILE,
  /**
   * This resource is an executable.
   */
  EXECUTABLE,
  /**
   * This is a file reference to an existing file. Nothing should be extracted.
   */
  REFERENCE,
  /**
   * The resource is a Java jar file.
   */
  JAR,
  /**
   * The resource is a Java class name.
   */
  CLASSNAME,
  /**
   * The resource is a JDBC connection url. (The arg can be the class name).
   */
  JDBC,
  /**
   * The resource is a Python 3 script. .
   */
  PYTHON3,
  /**
   * The resource is a Python 2 script. .
   */
  PYTHON2,
  /**
   *
   * The resource is an R script.
   */
  RSCRIPT,
  /**
   * The resource is an install script. (It gets executed once).
   */
  INSTALL

}