org.apache.stratos.manager.dto
Class Policy

java.lang.Object
  extended by org.apache.stratos.manager.dto.Policy
All Implemented Interfaces:
Serializable

public class Policy
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Policy()
           
 
Method Summary
 boolean equals(Object obj)
           
 BigDecimal getAlarmingLowerRate()
           
 BigDecimal getAlarmingUpperRate()
           
 String getDescription()
           
 Integer getMaxAppInstances()
           
 Integer getMaxRequestsPerSecond()
           
 Integer getMinAppInstances()
           
 String getName()
           
 Integer getRoundsToAverage()
           
 BigDecimal getScaleDownFactor()
           
 int hashCode()
           
 boolean isDefaultPolicy()
           
 void setAlarmingLowerRate(BigDecimal alarmingLowerRate)
           
 void setAlarmingUpperRate(BigDecimal alarmingUpperRate)
           
 void setDefaultPolicy(boolean defaultPolicy)
           
 void setDescription(String description)
           
 void setMaxAppInstances(Integer maxAppInstances)
           
 void setMaxRequestsPerSecond(Integer maxRequestsPerSecond)
           
 void setMinAppInstances(Integer minAppInstances)
           
 void setName(String name)
           
 void setRoundsToAverage(Integer roundsToAverage)
           
 void setScaleDownFactor(BigDecimal scaleDownFactor)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Policy

public Policy()
Method Detail

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.