Annotation Type PythonBuiltinLib


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface PythonBuiltinLib

    A Marker interface that should be put on classes that are going to be added to the ScriptManager to provide global scripting to the system. Because these classes are so distributed throughout the various projects, this helps find all of them.

    Note that because reflection isn't quite magical enough, you also should add any classes that have this annotation to the list in the DocGenerator class so that it gets automatic docs generated for it.

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String mountPath
      The path that this library will be mounted at.
      java.lang.String scope
      The scope code that this python libarry will be available in.
    • Element Detail

      • mountPath

        java.lang.String mountPath
        The path that this library will be mounted at.
      • scope

        java.lang.String scope
        The scope code that this python libarry will be available in.