Class AbstractActionBuilder<T extends AbstractActionBuilder,I extends AbstractAction>

java.lang.Object
com.almis.awe.builder.screen.base.AweBuilder<T,I>
com.almis.awe.builder.screen.base.AbstractActionBuilder<T,I>
All Implemented Interfaces:
IBuilderInitializer<T,I>
Direct Known Subclasses:
ButtonActionBuilder, DependencyActionBuilder

public abstract class AbstractActionBuilder<T extends AbstractActionBuilder,I extends AbstractAction> extends AweBuilder<T,I>
Author:
dfuentes
  • Constructor Details

    • AbstractActionBuilder

      public AbstractActionBuilder()
  • Method Details

    • build

      public I build(I action)
      Description copied from interface: IBuilderInitializer
      Build instance already initialized
      Specified by:
      build in interface IBuilderInitializer<T extends AbstractActionBuilder,I extends AbstractAction>
      Overrides:
      build in class AweBuilder<T extends AbstractActionBuilder,I extends AbstractAction>
      Parameters:
      action - Instance to update
      Returns:
      Instance of object updated
    • setAsynchronous

      public T setAsynchronous(boolean asynchronous)
      Set asynchronous
      Parameters:
      asynchronous -
      Returns:
      Builder
    • setSilent

      public T setSilent(boolean silent)
      Set silent
      Parameters:
      silent -
      Returns:
      Builder
    • setValue

      public T setValue(String value)
      Set value
      Parameters:
      value - value
      Returns:
      Builder
    • setLabel

      public T setLabel(String label)
      Set label
      Parameters:
      label - label
      Returns:
      Builder
    • setContext

      public T setContext(String context)
      Set context
      Parameters:
      context - context
      Returns:
      Builder
    • setServerAction

      public T setServerAction(ServerAction serverAction)
      Set server action
      Parameters:
      serverAction - server action
      Returns:
      Builder
    • setTarget

      public T setTarget(String target)
      Set target
      Parameters:
      target - target
      Returns:
      Builder
    • setTargetAction

      public T setTargetAction(String target)
      Set target action
      Parameters:
      target - target action
      Returns:
      Builder
    • setType

      public T setType(Action type)
      Set type
      Parameters:
      type - action type
      Returns:
      Builder