net.officefloor.plugin.section.clazz
Annotation Type SectionInterface


@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface SectionInterface

Annotates an interface to be a SectionSource.

Author:
Daniel Sagenschneider

Required Element Summary
 Class<? extends SectionSource> source
          SectionSource class for this section.
 
Optional Element Summary
 String location
          Obtains the location of the section.
 Class<?> locationClass
           Obtains the location of the section as a Class.
 FlowLink[] outputs
          Obtains the FlowLink instances for the SectionOutput instances.
 Property[] properties
          Obtains the Property instances for the section.
 

Element Detail

source

public abstract Class<? extends SectionSource> source
SectionSource class for this section.

Returns:
SectionSource class.

location

public abstract String location
Obtains the location of the section.

Returns:
Location of the section.
Default:
""

locationClass

public abstract Class<?> locationClass

Obtains the location of the section as a Class.

This simplifies configuring fully qualified class names as the section location.

Returns:
Location as a Class.
Default:
java.lang.Void.class

properties

public abstract Property[] properties
Obtains the Property instances for the section.

Returns:
Property instances for the section.
Default:
{}

outputs

public abstract FlowLink[] outputs
Obtains the FlowLink instances for the SectionOutput instances.

Returns:
FlowLink instances for the SectionOutput instances.
Default:
{}


Copyright © 2005-2013. All Rights Reserved.