- java.lang.Object
-
- org.praxislive.code.CodeCompilerService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.praxislive.core.Protocol
Protocol.Type<T extends Protocol>, Protocol.TypeProvider
-
-
Field Summary
Fields Modifier and Type Field Description static ComponentInfoAPI_INFOstatic StringCOMPILEstatic ControlInfoCOMPILE_INFOstatic StringKEY_CLASS_BODY_CONTEXTDeprecated.static StringKEY_CLASSESstatic StringKEY_CODEDeprecated.static StringKEY_LOGstatic StringKEY_LOG_LEVELstatic StringKEY_SHARED_CLASSESstatic StringKEY_SOURCES
-
Constructor Summary
Constructors Constructor Description CodeCompilerService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<String>controls()The names of the controls that a component advertising this protocol must provide.ControlInfogetControlInfo(String control)Query the ControlInfo for the provided control name on this protocol.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.praxislive.core.Protocol
optionalControls
-
-
-
-
Field Detail
-
COMPILE
public static final String COMPILE
- See Also:
- Constant Field Values
-
COMPILE_INFO
public static final ControlInfo COMPILE_INFO
-
API_INFO
public static final ComponentInfo API_INFO
-
KEY_CLASS_BODY_CONTEXT
@Deprecated public static final String KEY_CLASS_BODY_CONTEXT
Deprecated.- See Also:
- Constant Field Values
-
KEY_CODE
@Deprecated public static final String KEY_CODE
Deprecated.- See Also:
- Constant Field Values
-
KEY_SOURCES
public static final String KEY_SOURCES
- See Also:
- Constant Field Values
-
KEY_SHARED_CLASSES
public static final String KEY_SHARED_CLASSES
- See Also:
- Constant Field Values
-
KEY_LOG_LEVEL
public static final String KEY_LOG_LEVEL
- See Also:
- Constant Field Values
-
KEY_CLASSES
public static final String KEY_CLASSES
- See Also:
- Constant Field Values
-
KEY_LOG
public static final String KEY_LOG
- See Also:
- Constant Field Values
-
-
Method Detail
-
controls
public Stream<String> controls()
Description copied from interface:ProtocolThe names of the controls that a component advertising this protocol must provide.
-
getControlInfo
public ControlInfo getControlInfo(String control)
Description copied from interface:ProtocolQuery the ControlInfo for the provided control name on this protocol. The component implementing this protocol will generally use the control info provided here inside its component info. In exceptional circumstances, the component may extend or adapt the behaviour of the control, as long as it is fully compatible with this control info and the specification.- Specified by:
getControlInfoin interfaceProtocol- Parameters:
control- name of control- Returns:
- control info for named control
-
-