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 class
Represents an XML attributestatic class
Represents an XML element -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Installation.Element
The new element to add in the configuration fileprotected String
XPath selector to check if the wiring has already been doneprotected String
XPath selector for the parent nodeprotected String
The type of the widget to install -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()
void
setElement
(Installation.Element element) void
setElementXpath
(String elementXpath) void
setParentXpath
(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
-