Class UILessMediatorService
- java.lang.Object
-
- org.wso2.carbon.mediator.service.AbstractMediatorService
-
- org.wso2.carbon.mediator.service.builtin.UILessMediatorService
-
- All Implemented Interfaces:
MediatorService
public class UILessMediatorService extends AbstractMediatorService
-
-
Constructor Summary
Constructors Constructor Description UILessMediatorService()
-
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
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.String
getUIFolderName()
UIFolderName defaults to the tag local name of the mediatorvoid
setLocalName(String localName)
-
Methods inherited from class org.wso2.carbon.mediator.service.AbstractMediatorService
getGroupName, isAddChildEnabled, 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
-
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
-
getUIFolderName
public String getUIFolderName()
Description copied from class:AbstractMediatorService
UIFolderName defaults to the tag local name of the mediator- Specified by:
getUIFolderName
in interfaceMediatorService
- Overrides:
getUIFolderName
in classAbstractMediatorService
-
setLocalName
public void setLocalName(String localName)
-
-