AtlassianSynchronizer, DefaultSynchronizer, FileSynchronizerpublic interface ISynchronizer
| Modifier and Type | Method | Description |
|---|---|---|
SynchronizerResult |
add(IWorkitem workitem) |
Adds workitem to synchronized system.
|
SynchronizerResult |
add(IReport report) |
Adds the report to synchronized system.
|
java.lang.String |
delete(IWorkitem workitem) |
Delete workitem in system which is connected through synchronizer.
|
IWorkitem |
get(java.lang.String id) |
Gets the workitem of named id.
|
java.lang.String |
getIdPattern() |
Gets the pattern for valid id as regular expression which is allowed for synchronized system.
|
ISynchronizerRendererEngine |
getRenderer() |
Gets the renderer which is used to render workitems and reports for target system.
|
java.util.List<java.lang.String> |
loadIndex(WorkitemType workitemType) |
Load index for all workitems which where found by synchronizer of named workitem-type.
|
SynchronizerResult |
update(IWorkitem workitem) |
Update workitem on synchronized system.
|
SynchronizerResult |
update(IReport report) |
Update report on synchronized system.
|
void |
writeIndex() |
Write index.
|
java.util.List<java.lang.String> loadIndex(WorkitemType workitemType)
workitemType - the workitem typevoid writeIndex()
IWorkitem get(java.lang.String id) throws SynchronizerException
id - the workitem of specific synchronizer. Every synchronizer could have own id-logicSynchronizerException - the synchronizer exceptionjava.lang.String delete(IWorkitem workitem) throws SynchronizerException
workitem - the workitem to deleteSynchronizerException - the synchronizer exceptionSynchronizerResult add(IWorkitem workitem) throws SynchronizerException
workitem - the workitem to addSynchronizerException - the synchronizer exceptionSynchronizerResult add(IReport report) throws SynchronizerException
report - the report to addSynchronizerException - the synchronizer exceptionSynchronizerResult update(IReport report) throws SynchronizerException
report - the report to updateSynchronizerException - the synchronizer exceptionSynchronizerResult update(IWorkitem workitem) throws SynchronizerException
workitem - the workitem to updateSynchronizerException - the synchronizer exceptionjava.lang.String getIdPattern()
ISynchronizerRendererEngine getRenderer()