COSMOS ${releaseVersion} data-collection Project
Public API Specification

org.eclipse.cosmos.dc.mgmt.annotations
Annotation Type ManagedOperation


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface ManagedOperation

Annotation used to indicate a manageable operation.


Optional Element Summary
 java.lang.String description
           
 boolean isDestroyMethod
           
 boolean isMetaDataMethod
          If true, the operation will not be exposed, but will act as a source of metadata for extending introspection of the resource by metadata exchange.
 java.lang.String MetaDataType
          The type of metadata the operation returns.
 java.lang.String namespace
          The namespace to be used for the operation.
 

description

public abstract java.lang.String description
Default:
""

namespace

public abstract java.lang.String namespace
The namespace to be used for the operation. If no namespace is provided, and the operation is declared as a member of a ManagedResource, then the ManagedResource annotation's namespacewill be used. If no namespace is provided, and the operation is operation is declared as a member of a ManagedResourceCapability, then the ManagedResourceCapability's namespace will be used.

Default:
""

isDestroyMethod

public abstract boolean isDestroyMethod
Default:
false

isMetaDataMethod

public abstract boolean isMetaDataMethod
If true, the operation will not be exposed, but will act as a source of metadata for extending introspection of the resource by metadata exchange. This annotation is used in conjuction with MetaDataType to expose different types of metadata.

Default:
false

MetaDataType

public abstract java.lang.String MetaDataType
The type of metadata the operation returns. This annotation is only valid when used with the isMetaDataMethod annotation.

Default:
""

COSMOS ${releaseVersion} data-collection Project
Public API Specification