Skip navigation links
A C D E F G I O S T U V W X 

A

AbstractVerifyMojo - Class in org.xwiki.tool.xar
Common code for the Verify and Format Mojos.
AbstractVerifyMojo() - Constructor for class org.xwiki.tool.xar.AbstractVerifyMojo
 
AUTHOR - Static variable in class org.xwiki.tool.xar.AbstractVerifyMojo
Admin author for creator/contentAuthor and author.

C

commonsVersion - Variable in class org.xwiki.tool.xar.AbstractVerifyMojo
The Commons version to be used by this mojo.

D

defaultLanguage - Variable in class org.xwiki.tool.xar.AbstractVerifyMojo
The language in which non-translated documents are written in.

E

execute() - Method in class org.xwiki.tool.xar.FormatMojo
 
execute() - Method in class org.xwiki.tool.xar.UnXARMojo
 
execute() - Method in class org.xwiki.tool.xar.VerifyMojo
 
execute() - Method in class org.xwiki.tool.xar.XARMojo
 
executeLicenseGoal(String) - Method in class org.xwiki.tool.xar.AbstractVerifyMojo
Executes a goal of the Maven License plugin (used for adding or checking for license headers.

F

force - Variable in class org.xwiki.tool.xar.AbstractVerifyMojo
If true then don't check if the packaging is XAR before running mojos.
formatLicense - Variable in class org.xwiki.tool.xar.AbstractVerifyMojo
If true then add license header to XML files.
FormatMojo - Class in org.xwiki.tool.xar
Pretty prints and set valid authors and version to XAR XML files.
FormatMojo() - Constructor for class org.xwiki.tool.xar.FormatMojo
 

G

getAction() - Method in class org.xwiki.tool.xar.Transformation
 
getArtifact() - Method in class org.xwiki.tool.xar.Transformation
 
getDocumentNamesFromXML(File) - Static method in class org.xwiki.tool.xar.XARMojo
Gets the list of document names from a 'package.xml'-like document.
getDocumentNamesFromXML(InputStream) - Static method in class org.xwiki.tool.xar.XARMojo
 
getFile() - Method in class org.xwiki.tool.xar.Transformation
 
getTitlePatternRuleforPage(String) - Method in class org.xwiki.tool.xar.AbstractVerifyMojo
 
getValue() - Method in class org.xwiki.tool.xar.Transformation
 
getXARXMLFiles() - Method in class org.xwiki.tool.xar.AbstractVerifyMojo
 
getXml() - Method in class org.xwiki.tool.xar.Transformation
 
getXpath() - Method in class org.xwiki.tool.xar.Transformation
 
getXWikiCommonsVersion() - Method in class org.xwiki.tool.xar.AbstractVerifyMojo
 
guessDefaultLanguage(File, Collection<File>) - Method in class org.xwiki.tool.xar.AbstractVerifyMojo
Guess the &lt;defaultLanguage&gt; value to use for the passed file using the following algorithm: If the page name matches one of the regexes defined by the user as content pages then check that the default language is defaultLanguage. If the page name matches one of the regexes defined by the user as technial pages then check that the default language is empty.

I

initializePatterns() - Method in class org.xwiki.tool.xar.AbstractVerifyMojo
Initialize regex Patterns for performance reasons.
isTechnicalPage(String) - Method in class org.xwiki.tool.xar.AbstractVerifyMojo
 
isTitlesMatching(String, String) - Method in class org.xwiki.tool.xar.AbstractVerifyMojo
 

O

org.xwiki.tool.xar - package org.xwiki.tool.xar
 

S

setAction(Transformation.Action) - Method in class org.xwiki.tool.xar.Transformation
 
setArtifact(String) - Method in class org.xwiki.tool.xar.Transformation
 
setFile(String) - Method in class org.xwiki.tool.xar.Transformation
 
setValue(String) - Method in class org.xwiki.tool.xar.Transformation
 
setXml(File) - Method in class org.xwiki.tool.xar.Transformation
 
setXpath(String) - Method in class org.xwiki.tool.xar.Transformation
 

T

titles - Variable in class org.xwiki.tool.xar.AbstractVerifyMojo
Defines expectations for the Title field of pages.
Transformation - Class in org.xwiki.tool.xar
Hold Transformation configuration as specified by the user in its pom.xml.
Transformation() - Constructor for class org.xwiki.tool.xar.Transformation
 
Transformation.Action - Enum in org.xwiki.tool.xar
The action to apply.

U

unpackDependentXars(Artifact) - Method in class org.xwiki.tool.xar.UnXARMojo
Unpack xar dependencies of the provided artifact.
UnXARMojo - Class in org.xwiki.tool.xar
Expand a XAR file.
UnXARMojo() - Constructor for class org.xwiki.tool.xar.UnXARMojo
 

V

valueOf(String) - Static method in enum org.xwiki.tool.xar.Transformation.Action
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.xwiki.tool.xar.Transformation.Action
Returns an array containing the constants of this enum type, in the order they are declared.
VerifyMojo - Class in org.xwiki.tool.xar
Perform various verifications of the XAR files in this project.
VerifyMojo() - Constructor for class org.xwiki.tool.xar.VerifyMojo
 
VERSION - Static variable in class org.xwiki.tool.xar.AbstractVerifyMojo
First version.

W

writeComment(String) - Method in class org.xwiki.tool.xar.XWikiXMLWriter
 
writeNodeText(Node) - Method in class org.xwiki.tool.xar.XWikiXMLWriter
 
writePrintln() - Method in class org.xwiki.tool.xar.XWikiXMLWriter
 

X

XARMojo - Class in org.xwiki.tool.xar
Gather all resources in a XAR file (which is actually a ZIP file).
XARMojo() - Constructor for class org.xwiki.tool.xar.XARMojo
 
XWikiXMLWriter - Class in org.xwiki.tool.xar
Custom XML Writer to support XWiki's code style for XAR XML files.
XWikiXMLWriter(OutputStream) - Constructor for class org.xwiki.tool.xar.XWikiXMLWriter
 
XWikiXMLWriter(OutputStream, OutputFormat) - Constructor for class org.xwiki.tool.xar.XWikiXMLWriter
 
A C D E F G I O S T U V W X 
Skip navigation links

Copyright © 2004–2017 XWiki. All rights reserved.