Package com.xebialabs.deployit.plugin.api.deployment.rules

# Class AbstractBaseRule

java.lang.Object
com.xebialabs.deployit.plugin.api.deployment.rules.AbstractBaseRule

public abstract class AbstractBaseRule extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `ALWAYS_RUN_CONDITION`
  `protected String`
  `condition`
  `protected boolean`
  `enabled`
  `protected String`
  `name`

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `AbstractBaseRule(String name, boolean enabled, String condition)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected boolean`
  `canFire(Map<String,Object> context)`
  `void`
  `disable()`
  `protected abstract List<Step>`
  `fire(Map<String,Object> context)`
  `String`
  `getName()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### ALWAYS_RUN_CONDITION

    public static final String ALWAYS_RUN_CONDITION

  - ### name

    protected String name

  - ### enabled

    protected boolean enabled

  - ### condition

    protected String condition

- ## Constructor Details

  - ### AbstractBaseRule

    protected AbstractBaseRule(String name, boolean enabled, String condition)

- ## Method Details

  - ### canFire

    protected boolean canFire(Map<String,Object> context)

  - ### fire

    protected abstract List<Step> fire(Map<String,Object> context)

  - ### getName

    public String getName()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### disable

    public void disable()