Class Installation

java.lang.Object
org.craftercms.commons.plugin.model.Installation

public class Installation extends Object
Holds the data required to install a plugin in a configuration file
Since:
4.0
Author:
joseross
  • Field Details

    • type

      protected String type
      The type of the widget to install
    • parentXpath

      protected String parentXpath
      XPath selector for the parent node
    • elementXpath

      protected String elementXpath
      XPath selector to check if the wiring has already been done
    • element

      protected Installation.Element element
      The new element to add in the configuration file
  • Constructor Details

    • Installation

      public Installation()
  • Method Details

    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getParentXpath

      public String getParentXpath()
    • setParentXpath

      public void setParentXpath(String parentXpath)
    • getElementXpath

      public String getElementXpath()
    • setElementXpath

      public void setElementXpath(String elementXpath)
    • getElement

      public Installation.Element getElement()
    • setElement

      public void setElement(Installation.Element element)