Class SequenceMediatorService
- java.lang.Object
-
- org.wso2.carbon.mediator.service.AbstractMediatorService
-
- org.wso2.carbon.mediator.service.builtin.SequenceMediatorService
-
- All Implemented Interfaces:
MediatorService
public class SequenceMediatorService extends AbstractMediatorService
-
-
Constructor Summary
Constructors Constructor Description SequenceMediatorService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
This gives the display name for the mediator in the add mediator menu, and this can be anyString
.String
getGroupName()
Mediators which doesn't have a group doesn't show up in the add menu, generally these are inner partsString
getLogicalName()
This should be equivalent toMediator.getType()
of the mediator.Mediator
getMediator()
Retrieves a default new mediator instances of the representing mediator.String
getTagLocalName()
This gives the mediator serialization tag local name.boolean
isAddChildEnabled()
by default adding children to the mediator is enabled-
Methods inherited from class org.wso2.carbon.mediator.service.AbstractMediatorService
getUIFolderName, isAddSiblingEnabled, isEditable, isMovingAllowed, isSequenceRefreshRequired
-
-
-
-
Method Detail
-
getTagLocalName
public String getTagLocalName()
Description copied from interface:MediatorService
This gives the mediator serialization tag local name. Example: if you take theLogMediator
derived from theLogMediatorSerializer
the tag local name islog
- Returns:
- tag local name of the mediator tag QName
-
getDisplayName
public String getDisplayName()
Description copied from interface:MediatorService
This gives the display name for the mediator in the add mediator menu, and this can be anyString
. It is recommended to put a meaning full descriptive short name as the display name- Returns:
- display name in the add mediator menu of the mediator
-
getLogicalName
public String getLogicalName()
Description copied from interface:MediatorService
This should be equivalent toMediator.getType()
of the mediator. The value of this is generally the class name without the package declaration. Example: logical name of theLogMediator
isLogMediator
- Returns:
- logical name of the mediator
-
getGroupName
public String getGroupName()
Description copied from class:AbstractMediatorService
Mediators which doesn't have a group doesn't show up in the add menu, generally these are inner parts- Specified by:
getGroupName
in interfaceMediatorService
- Overrides:
getGroupName
in classAbstractMediatorService
- Returns:
- group name of the mediator to which this mediator is categorized in the add mediator menu
-
getMediator
public Mediator getMediator()
Description copied from interface:MediatorService
Retrieves a default new mediator instances of the representing mediator. This method is used by the mediator addition and will be called to get a new instance of the mediator.It is recommended to fill the required fields of the mediator with the default values if possible before returning the new instance, so that the user can just save this mediator if he/she is not smart.
- Returns:
- new instance of the mediator with the default values filled
-
isAddChildEnabled
public boolean isAddChildEnabled()
Description copied from class:AbstractMediatorService
by default adding children to the mediator is enabled- Specified by:
isAddChildEnabled
in interfaceMediatorService
- Overrides:
isAddChildEnabled
in classAbstractMediatorService
- Returns:
- true if the particular mediator can have children
-
-