Annotation Interface RestRedirect


@Retention(RUNTIME) public @interface RestRedirect
annotation to redirect a rest request from CRUD operations on the configuration tree to a command invocation (like deploy, undeploy).
Author:
Jerome Dochez
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Command identification for the redirection.
    Rest operation type that should trigger a redirect to an actual asadmin command invocation
  • Element Details

    • opType

      Rest operation type that should trigger a redirect to an actual asadmin command invocation
      Returns:
      the rest operation type for this redirect
    • commandName

      String commandName
      Command identification for the redirection.
      Returns:
      the name of the command to invoke