Package com.microstrategy.web.transform
Interface StyleMapperResult
-
- All Known Implementing Classes:
StyleMapperResultImpl
public interface StyleMapperResult
This class represents the result of a "style mapping" request. An object of this class is returned by theStyleMapper.mapStyle(String, StyleRequestContext, String)
method. If the conditions required to perform the mapper were met, than thewereConditionsMet()
method returns true. If the mapper has a specific style name selected to map to, then it that name is returned by thegetMappedStyleName()
method.- Since:
- MicroStrategy Web 9.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getMappedStyleName()
Returns the preferred style name to map to, if the conditions were met.void
setMappedStyleName(java.lang.String toStyle)
Sets the preferred style name to map to, if the conditions were met.void
setWereConditionsMet(boolean conditionsMet)
Sets whether the conditions were successfully met or not.boolean
wereConditionsMet()
Returns whether the conditions necessary to perform the style mapping were met.
-
-
-
Method Detail
-
wereConditionsMet
boolean wereConditionsMet()
Returns whether the conditions necessary to perform the style mapping were met.- Returns:
- Whether the conditions necessary to perform the style mapping were met.
-
setWereConditionsMet
void setWereConditionsMet(boolean conditionsMet)
Sets whether the conditions were successfully met or not.- Parameters:
conditionsMet
- Whether the conditions were successfully met or not.
-
getMappedStyleName
java.lang.String getMappedStyleName()
Returns the preferred style name to map to, if the conditions were met.- Returns:
- The preferred style name to map to, if the conditions were met.
-
setMappedStyleName
void setMappedStyleName(java.lang.String toStyle)
Sets the preferred style name to map to, if the conditions were met.- Parameters:
toStyle
- The preferred style name to map to, if the conditions were met.
-
-