Interface ExportRuleSetComponent
-
public interface ExportRuleSetComponent
This is the common base forExportRule
andExportRuleItem
.- See Also:
ExportedItem.getExportRuleSetComponent()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDescriptionTranslationKey()
Returns a description that is useful for display purposes.com.redwood.scheduler.api.model.ExportRuleSet
getExportRuleSet()
Returns the corresponding ExportRuleSetRWIterable<com.redwood.scheduler.api.model.SchedulerEntity>
getItemsToExport()
Returns an Iterator over all the items that should be exported with this ExportRuleSetComponent.boolean
isExportContents()
Indicates whether the items are exported recursively.void
setExportContents(boolean newExportContent)
Set whether the items should be exported recursively.
-
-
-
Method Detail
-
isExportContents
boolean isExportContents()
Indicates whether the items are exported recursively.- Returns:
- true when the items are exported recursively.
- See Also:
ExportRuleItem.isExportContents()
,ExportRule.isExportContents()
-
setExportContents
void setExportContents(boolean newExportContent)
Set whether the items should be exported recursively.- Parameters:
newExportContent
- whether the items should be exported recursively.- See Also:
ExportRuleItem.setExportContents(boolean)
,ExportRule.setExportContents(boolean)
-
getItemsToExport
RWIterable<com.redwood.scheduler.api.model.SchedulerEntity> getItemsToExport()
Returns an Iterator over all the items that should be exported with this ExportRuleSetComponent.- Returns:
- An
Iterator
over all the items that should be exported. It contains the child items ifisExportContents()
returns true. - See Also:
ExportRuleItem.getItemsToExport()
,ExportRule.getItemsToExport()
-
getExportRuleSet
com.redwood.scheduler.api.model.ExportRuleSet getExportRuleSet()
Returns the corresponding ExportRuleSet- Returns:
- the ExportRuleSet from where this ExportRuleSetComponent comes.
- See Also:
ExportRuleItem.getExportRuleSet()
,ExportRule.getExportRuleSet()
-
getDescriptionTranslationKey
String getDescriptionTranslationKey()
Returns a description that is useful for display purposes. This might need translating by being passed to SchedulerSession.translateField(String).- Returns:
- either a description of this component or a translation key for the description of this component.
-
-