Class Installation
java.lang.Object
org.craftercms.commons.plugin.model.Installation
Holds the data required to install a plugin in a configuration file
- Since:
- 4.0
- Author:
- joseross
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents an XML attributestatic classRepresents an XML element -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Installation.ElementThe new element to add in the configuration fileprotected StringXPath selector to check if the wiring has already been doneprotected StringXPath selector for the parent nodeprotected StringThe type of the widget to install -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()voidsetElement(Installation.Element element) voidsetElementXpath(String elementXpath) voidsetParentXpath(String parentXpath) void
-
Field Details
-
type
The type of the widget to install -
parentXpath
XPath selector for the parent node -
elementXpath
XPath selector to check if the wiring has already been done -
element
The new element to add in the configuration file
-
-
Constructor Details
-
Installation
public Installation()
-
-
Method Details
-
getType
-
setType
-
getParentXpath
-
setParentXpath
-
getElementXpath
-
setElementXpath
-
getElement
-
setElement
-