Package com.morpheusdata.core.policy
Interface MorpheusPolicyTypeService
-
public interface MorpheusPolicyTypeService
This Context deals with interactions related toPolicyType
objects. It can normally be accessed via the primaryMorpheusContext
via theMorpheusPolicyService
Examples:
morpheusContext.getPolicy().getType()
- Since:
- 0.12.2
- See Also:
MorpheusPolicyService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.reactivex.Single<PolicyType>
findByCode(java.lang.String code)
Find a Policy Type by code
-
-
-
Method Detail
-
findByCode
io.reactivex.Single<PolicyType> findByCode(java.lang.String code)
Find a Policy Type by code- Parameters:
code
- Name of the type- Returns:
- An instance of PolicyType
-
-