public class Parser
extends java.lang.Object
| Constructor | Description |
|---|---|
Parser() |
| Modifier and Type | Method | Description |
|---|---|---|
static org.jsoup.nodes.Element |
addChartMacro(java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel,
java.lang.String colors,
java.util.Map<java.lang.String,java.util.List<Timeslice>> dataMap) |
Adds the chart macro.
|
static java.lang.String |
addImage(java.lang.String filename,
int size,
int version) |
Adds the image.
|
static java.lang.String |
addImageFromOtherPage(java.lang.String page,
java.lang.String imageFile,
int size,
int version) |
Load attached images from page "BPMN".
|
static java.lang.String |
clean(org.jsoup.nodes.Element element) |
Clean.
|
static org.jsoup.nodes.Element |
createActivityTable(java.util.List<ActivityDataitem> activities,
ISynchronizer synchronizer,
boolean activatedLinks) |
Creates the header table for activity-subactivties.
|
static org.jsoup.nodes.Element |
createCompetenceTable(java.util.List<CompetenceDataitem> competencies,
ISynchronizer synchronizer,
boolean activatedLinks) |
Creates the competence table.
|
static org.rogatio.circlead.control.synchronizer.atlassian.content.Page |
createPage(IWorkitem workitem,
java.lang.String spaceKey,
ISynchronizer synchronizer) |
Creates the page.
|
static org.rogatio.circlead.control.synchronizer.atlassian.content.Page |
createPage(IReport report,
java.lang.String spaceKey,
ISynchronizer synchronizer) |
Creates the page.
|
static org.jsoup.nodes.Element |
createTeamEntryTable(java.util.List<TeamEntry> teamentries,
ISynchronizer synchronizer,
boolean activatedLinks) |
Creates the team entry table.
|
static org.jsoup.nodes.Element |
getContacts(java.util.List<ContactDataitem> contacts) |
Gets the contacts.
|
static org.jsoup.nodes.Element |
getDataTable(java.util.Map<java.lang.String,java.lang.String> map) |
Gets the data table.
|
static org.jsoup.nodes.Element |
getExpandMacro(org.jsoup.nodes.Element content) |
Gets the expand macro.
|
static int |
getIdFromPage(java.lang.String page) |
Gets the id from page.
|
static int |
getIdFromResult(java.lang.String result) |
Gets the id from result.
|
static org.jsoup.nodes.Element |
getJiraMacro(java.lang.String columns,
int maximumIssues,
java.lang.String jqlQuery,
java.lang.String serverId) |
Gets the jira macro.
|
static org.rogatio.circlead.control.synchronizer.atlassian.content.Metadata |
getLabelMetadata(java.lang.String label) |
Gets the label metadata.
|
static org.rogatio.circlead.control.synchronizer.atlassian.content.Metadata |
getLabelMetadata(IWorkitem wi) |
Gets the label metadata.
|
static org.rogatio.circlead.control.synchronizer.atlassian.content.Metadata |
getLabelMetadata(IReport re) |
Gets the label metadata.
|
static org.jsoup.nodes.Element |
getPagePropertiesMacro(org.jsoup.nodes.Element content) |
Gets the page properties macro.
|
static org.jsoup.nodes.Element |
getStatus(java.lang.String title) |
Gets the status.
|
static org.jsoup.nodes.Element |
getStatus(java.lang.String title,
java.lang.String forcedColor) |
Gets the status.
|
public static org.jsoup.nodes.Element getPagePropertiesMacro(org.jsoup.nodes.Element content)
content - the contentpublic static org.jsoup.nodes.Element getJiraMacro(java.lang.String columns,
int maximumIssues,
java.lang.String jqlQuery,
java.lang.String serverId)
columns - the columnsmaximumIssues - the maximum issuesjqlQuery - the jql queryserverId - the server idpublic static java.lang.String addImageFromOtherPage(java.lang.String page,
java.lang.String imageFile,
int size,
int version)
page - the pageimageFile - the image filesize - the sizeversion - the versionpublic static java.lang.String addImage(java.lang.String filename,
int size,
int version)
filename - the filenamesize - the sizeversion - the versionpublic static org.jsoup.nodes.Element createTeamEntryTable(java.util.List<TeamEntry> teamentries, ISynchronizer synchronizer, boolean activatedLinks)
teamentries - the teamentriessynchronizer - the synchronizeractivatedLinks - the activated linkspublic static org.jsoup.nodes.Element createCompetenceTable(java.util.List<CompetenceDataitem> competencies, ISynchronizer synchronizer, boolean activatedLinks)
competencies - the competenciessynchronizer - the synchronizeractivatedLinks - the activated linkspublic static org.jsoup.nodes.Element createActivityTable(java.util.List<ActivityDataitem> activities, ISynchronizer synchronizer, boolean activatedLinks)
activities - the activitiessynchronizer - the synchronizeractivatedLinks - the activated linkspublic static org.jsoup.nodes.Element addChartMacro(java.lang.String title,
java.lang.String xLabel,
java.lang.String yLabel,
java.lang.String colors,
java.util.Map<java.lang.String,java.util.List<Timeslice>> dataMap)
title - the titlexLabel - the x labelyLabel - the y labelcolors - the colorsdataMap - the data mappublic static org.jsoup.nodes.Element getDataTable(java.util.Map<java.lang.String,java.lang.String> map)
map - the mappublic static org.rogatio.circlead.control.synchronizer.atlassian.content.Page createPage(IWorkitem workitem, java.lang.String spaceKey, ISynchronizer synchronizer)
workitem - the workitemspaceKey - the space keysynchronizer - the synchronizerpublic static org.rogatio.circlead.control.synchronizer.atlassian.content.Page createPage(IReport report, java.lang.String spaceKey, ISynchronizer synchronizer)
report - the reportspaceKey - the space keysynchronizer - the synchronizerpublic static int getIdFromResult(java.lang.String result)
result - the resultpublic static int getIdFromPage(java.lang.String page)
page - the pagepublic static org.rogatio.circlead.control.synchronizer.atlassian.content.Metadata getLabelMetadata(IReport re)
re - the republic static org.rogatio.circlead.control.synchronizer.atlassian.content.Metadata getLabelMetadata(IWorkitem wi)
wi - the wipublic static org.rogatio.circlead.control.synchronizer.atlassian.content.Metadata getLabelMetadata(java.lang.String label)
label - the labelpublic static org.jsoup.nodes.Element getExpandMacro(org.jsoup.nodes.Element content)
content - the contentpublic static java.lang.String clean(org.jsoup.nodes.Element element)
element - the elementpublic static org.jsoup.nodes.Element getContacts(java.util.List<ContactDataitem> contacts)
contacts - the contactspublic static org.jsoup.nodes.Element getStatus(java.lang.String title)
title - the titlepublic static org.jsoup.nodes.Element getStatus(java.lang.String title,
java.lang.String forcedColor)
title - the titleforcedColor - the forced color