Package com.evolveum.midpoint.repo.api
Class CounterSpecification
- java.lang.Object
-
- com.evolveum.midpoint.repo.api.CounterSpecification
-
- All Implemented Interfaces:
DebugDumpable
public class CounterSpecification extends Object implements DebugDumpable
- Author:
- katka
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description CounterSpecification(String oid, String policyRuleId, PolicyRuleType policyRule)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
debugDump(int indent)
int
getCount()
long
getCounterStart()
String
getOid()
String
getPolicyRuleId()
String
getPolicyRuleName()
PolicyThresholdType
getPolicyThreshold()
int
incrementAndGet()
void
reset(long currentTimeMillis)
void
resetCount()
void
setCounterStart(long counterStart)
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Constructor Detail
-
CounterSpecification
public CounterSpecification(String oid, String policyRuleId, PolicyRuleType policyRule)
-
-
Method Detail
-
getCount
public int getCount()
-
getCounterStart
public long getCounterStart()
-
incrementAndGet
public int incrementAndGet()
-
setCounterStart
public void setCounterStart(long counterStart)
-
getPolicyThreshold
public PolicyThresholdType getPolicyThreshold()
-
getPolicyRuleName
public String getPolicyRuleName()
-
getOid
public String getOid()
-
getPolicyRuleId
public String getPolicyRuleId()
-
reset
public void reset(long currentTimeMillis)
-
resetCount
public void resetCount()
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
-