Package com.xebialabs.deployit.plugin.api.reflect

## Interface CreatorDescriptor

-     public interface CreatorDescriptor

  Encapsulates the metadata about the creator of a type in the XL Deploy type system. Creators allow actions to be executed on CIs when they are created. Arguments are configured in the control task definition in the synthetic.xml file. Arguments are specified as attributes on the synthetic method definition XML and are passed as-is to the control task.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.Map<java.lang.String,​java.lang.String>` | `getAttributes()` |
    `java.lang.String` | `getFqn()` |
    `java.lang.String` | `getName()` |
    `void` | `invoke​(CreatorContext context)` |

- - ### Method Detail

    - #### getName

          java.lang.String getName()

      Returns:
        The name of the method if class based or delegate name if synthetic based.

    - #### getAttributes

          java.util.Map<java.lang.String,​java.lang.String> getAttributes()

      Returns:
        A map of arguments to be passed to the method call. An entry key represents the name of the argument, and an entry value is the value of the argument.

    - #### invoke

          void invoke​(CreatorContext context)

      Parameters:
        `context` - The `CreatorContext` on which to invoke the creator.

    - #### getFqn

          java.lang.String getFqn()

      Returns:
        The fully qualified name of the creator. This is the type name followed by a dot and then the creator name. For example: k8s.ResourcesFile.creator