Package test.res

Class Component

java.lang.Object
test.res.Component
All Implemented Interfaces:
WorkflowComponent
Direct Known Subclasses:
SubComponent

public class Component extends Object implements WorkflowComponent
  • Field Details

    • booleanParam

      public boolean booleanParam
    • booleanObjectParam

      public Boolean booleanObjectParam
    • intParam

      public int intParam
    • integerParam

      public Integer integerParam
    • stringParam

      public String stringParam
    • stringArrayParam

      public String[] stringArrayParam
    • type

      public Component type
    • types

      public List<Component> types
    • map

      public Map<String,Object> map
    • bean

      public Object bean
    • INVOCATIONS

      public static int INVOCATIONS
    • invocations

      public int invocations
    • CHECKS

      public static int CHECKS
    • checks

      public int checks
  • Constructor Details

    • Component

      public Component()
  • Method Details

    • setBooleanParam

      public void setBooleanParam(boolean booleanParam)
    • setBooleanObjectParam

      public void setBooleanObjectParam(Boolean booleanObjectParam)
    • setIntParam

      public void setIntParam(int intParam)
    • setIntegerParam

      public void setIntegerParam(Integer integerParam)
    • setStringParam

      public void setStringParam(String stringParam)
    • setStringArrayParam

      public void setStringArrayParam(String[] stringArrayParam)
    • setType

      public void setType(Component type)
    • addTypes

      public void addTypes(Component type)
    • put

      public void put(String key, Object value)
    • setBean

      public void setBean(Object bean)
    • invoke

      public void invoke(WorkflowContext model, ProgressMonitor monitor, Issues issues)
      Description copied from interface: WorkflowComponent
      Invokes the component.
      Specified by:
      invoke in interface WorkflowComponent
      Parameters:
      model - current workflow context
      monitor - implementors should provide some feedback about the progress using this monitor
    • checkConfiguration

      public void checkConfiguration(Issues issues)
      Description copied from interface: WorkflowComponent
      Called by the container after configuration so the component can validate the configuration before invocation.
      Specified by:
      checkConfiguration in interface WorkflowComponent
      Parameters:
      issues - implementors should report configuration issues to this.
    • getContainer

      public CompositeComponent getContainer()
      Description copied from interface: WorkflowComponent
      Returns the containing component if there is one.
      Specified by:
      getContainer in interface WorkflowComponent
      Returns:
      the containing component
    • setContainer

      public void setContainer(CompositeComponent container)
      Description copied from interface: WorkflowComponent
      Sets the containing component.
      Specified by:
      setContainer in interface WorkflowComponent
      Parameters:
      container - the containing component
    • getLocation

      public Location getLocation()
      Description copied from interface: WorkflowComponent
      Returns the location in the source file that invokes the current component.
      Specified by:
      getLocation in interface WorkflowComponent
      Returns:
      the location
    • setLocation

      public void setLocation(Location location)
      Description copied from interface: WorkflowComponent
      Sets the location in the source file that invokes the current component.
      Specified by:
      setLocation in interface WorkflowComponent
      Parameters:
      location - the location
    • getComponentName

      public String getComponentName()
      Description copied from interface: WorkflowComponent
      Returns the name of the component.
      Specified by:
      getComponentName in interface WorkflowComponent
      Returns:
      the component name