AddRequirements
Date: 2015-05-19

org.gcube.vremanagement.resourcebroker.impl.planbuilders.generictasks

## Class AddRequirements

- java.lang.Object
- - org.gcube.vremanagement.resourcebroker.impl.planbuilders.PlanBuilderTask
  - - org.gcube.vremanagement.resourcebroker.impl.planbuilders.generictasks.AddRequirements

-     public class AddRequirements
      extends PlanBuilderTask

  Given a plan request access the IS to retrieve all the dependencies of its contained package groups.
  Author:
    Daniele Strollo (ISTI-CNR)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AddRequirements()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `PlanBuilderElem` | `makeDecision(PlanBuilderElem input)` Declares a decision making strategy over `PlanBuilderElem` elements.

    - ### Methods inherited from class org.gcube.vremanagement.resourcebroker.impl.planbuilders.PlanBuilderTask

      `setID`

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

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AddRequirements

          public AddRequirements()

  - ### Method Detail

    - #### makeDecision

          public final PlanBuilderElem makeDecision(PlanBuilderElem input)
                                             throws PlanBuilderException

      Description copied from class: `PlanBuilderTask`
      Declares a decision making strategy over `PlanBuilderElem` elements.
      Specified by:
        `makeDecision` in class `PlanBuilderTask`
      Parameters:
        `input` - `PlanBuilderElem` the required data to make a decision plan.
      Returns:
        an element of type `PlanBuilderElem` with the initial request and response possibly modified in accordance to the decision making strategy.
      Throws:
        `PlanBuilderException`