Interface BusinessService
-
- All Known Implementing Classes:
BusinessServiceImpl
,MockBusinessService
public interface BusinessService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addApplicationEdge(Application application, MapFunction mapFunction, int weight)
void
addChildEdge(BusinessService child, MapFunction mapFunction, int weight)
void
addIpServiceEdge(IpService ipService, MapFunction mapFunction, int weight, java.lang.String friendlyName)
void
addReductionKeyEdge(java.lang.String reductionKey, MapFunction mapFunction, int weight, java.lang.String friendlyName)
void
delete()
java.util.Set<ApplicationEdge>
getApplicationEdges()
java.util.Map<java.lang.String,java.lang.String>
getAttributes()
java.util.Set<ChildEdge>
getChildEdges()
java.util.Set<BusinessService>
getChildServices()
java.util.Set<? extends Edge>
getEdges()
java.lang.Long
getId()
java.util.Set<IpServiceEdge>
getIpServiceEdges()
java.lang.String
getName()
Status
getOperationalStatus()
java.util.Set<BusinessService>
getParentServices()
ReductionFunction
getReduceFunction()
java.util.Set<ReductionKeyEdge>
getReductionKeyEdges()
void
removeEdge(Edge edge)
void
save()
void
setApplicationEdges(java.util.Set<ApplicationEdge> applicationEdges)
void
setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
void
setChildEdges(java.util.Set<ChildEdge> childEdges)
void
setIpServiceEdges(java.util.Set<IpServiceEdge> ipServiceEdges)
void
setName(java.lang.String name)
void
setReduceFunction(ReductionFunction reductionFunction)
void
setReductionKeyEdges(java.util.Set<ReductionKeyEdge> reductionKeyEdges)
-
-
-
Method Detail
-
getId
java.lang.Long getId()
-
getName
java.lang.String getName()
-
setName
void setName(java.lang.String name)
-
getAttributes
java.util.Map<java.lang.String,java.lang.String> getAttributes()
-
setAttributes
void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
-
getChildServices
java.util.Set<BusinessService> getChildServices()
-
getParentServices
java.util.Set<BusinessService> getParentServices()
-
save
void save()
-
delete
void delete()
-
getOperationalStatus
Status getOperationalStatus()
-
getReduceFunction
ReductionFunction getReduceFunction()
-
setReduceFunction
void setReduceFunction(ReductionFunction reductionFunction)
-
setIpServiceEdges
void setIpServiceEdges(java.util.Set<IpServiceEdge> ipServiceEdges)
-
addIpServiceEdge
void addIpServiceEdge(IpService ipService, MapFunction mapFunction, int weight, java.lang.String friendlyName)
-
addApplicationEdge
void addApplicationEdge(Application application, MapFunction mapFunction, int weight)
-
setApplicationEdges
void setApplicationEdges(java.util.Set<ApplicationEdge> applicationEdges)
-
setReductionKeyEdges
void setReductionKeyEdges(java.util.Set<ReductionKeyEdge> reductionKeyEdges)
-
addReductionKeyEdge
void addReductionKeyEdge(java.lang.String reductionKey, MapFunction mapFunction, int weight, java.lang.String friendlyName)
-
setChildEdges
void setChildEdges(java.util.Set<ChildEdge> childEdges)
-
addChildEdge
void addChildEdge(BusinessService child, MapFunction mapFunction, int weight)
-
removeEdge
void removeEdge(Edge edge)
-
getReductionKeyEdges
java.util.Set<ReductionKeyEdge> getReductionKeyEdges()
-
getIpServiceEdges
java.util.Set<IpServiceEdge> getIpServiceEdges()
-
getApplicationEdges
java.util.Set<ApplicationEdge> getApplicationEdges()
-
getChildEdges
java.util.Set<ChildEdge> getChildEdges()
-
getEdges
java.util.Set<? extends Edge> getEdges()
-
-