org.apache.stratos.manager.dto
Class Policy
java.lang.Object
org.apache.stratos.manager.dto.Policy
- All Implemented Interfaces:
- Serializable
public class Policy
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Policy
public Policy()
getName
public String getName()
setName
public void setName(String name)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
isDefaultPolicy
public boolean isDefaultPolicy()
setDefaultPolicy
public void setDefaultPolicy(boolean defaultPolicy)
getMinAppInstances
public Integer getMinAppInstances()
setMinAppInstances
public void setMinAppInstances(Integer minAppInstances)
getMaxAppInstances
public Integer getMaxAppInstances()
setMaxAppInstances
public void setMaxAppInstances(Integer maxAppInstances)
getMaxRequestsPerSecond
public Integer getMaxRequestsPerSecond()
setMaxRequestsPerSecond
public void setMaxRequestsPerSecond(Integer maxRequestsPerSecond)
getAlarmingUpperRate
public BigDecimal getAlarmingUpperRate()
setAlarmingUpperRate
public void setAlarmingUpperRate(BigDecimal alarmingUpperRate)
getAlarmingLowerRate
public BigDecimal getAlarmingLowerRate()
setAlarmingLowerRate
public void setAlarmingLowerRate(BigDecimal alarmingLowerRate)
getScaleDownFactor
public BigDecimal getScaleDownFactor()
setScaleDownFactor
public void setScaleDownFactor(BigDecimal scaleDownFactor)
getRoundsToAverage
public Integer getRoundsToAverage()
setRoundsToAverage
public void setRoundsToAverage(Integer roundsToAverage)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.