Package de.fraunhofer.iese.mydata.pep
Class EventBuilder
- java.lang.Object
-
- de.fraunhofer.iese.mydata.pep.EventBuilder
-
public class EventBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description EventBuilder(de.fraunhofer.iese.mydata.policy.event.ActionId actionId)
Instantiates a new event builder for given action idEventBuilder(String urn)
Deprecated.EventBuilder(String solutionId, String identifier)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.fraunhofer.iese.mydata.policy.event.Event
getEvent()
Generates an eventEventBuilder
withParameter(String key, Object value, Type valueType)
-
-
-
Constructor Detail
-
EventBuilder
@Deprecated public EventBuilder(String urn)
Deprecated.
-
EventBuilder
@Deprecated public EventBuilder(String solutionId, String identifier)
Deprecated.Instantiates a new event builder for action id given as @param.- Parameters:
solutionId
- Platform part of the id.identifier
- Action Part of the id.
-
EventBuilder
public EventBuilder(de.fraunhofer.iese.mydata.policy.event.ActionId actionId)
Instantiates a new event builder for given action id- Parameters:
actionId
- the action id of the event to be created
-
-
Method Detail
-
withParameter
public EventBuilder withParameter(String key, Object value, Type valueType)
-
getEvent
public de.fraunhofer.iese.mydata.policy.event.Event getEvent()
Generates an event- Returns:
Event
-
-