|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.scijava.AbstractBasicDetails
org.scijava.usage.UsageStats
public class UsageStats
Data structure storing usage statistics for a particular identifier.
Constructor Summary | |
---|---|
UsageStats(Object o)
Creates usage statistics for the given object. |
Method Summary | |
---|---|
long |
getCount()
Gets the number of times the object has been used. |
String |
getIdentifier()
Gets a string intended to function as an identifier for the object. |
String |
getLocation()
Gets the URL string defining the object's location. |
String |
getVersion()
Gets the version of the object. |
void |
increment()
Increment the object's usage count. |
Methods inherited from class org.scijava.AbstractBasicDetails |
---|
get, getDescription, getLabel, getName, is, set, setDescription, setLabel, setName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UsageStats(Object o)
Method Detail |
---|
public long getCount()
public void increment()
public String getIdentifier()
Identifiable
getIdentifier
in interface Identifiable
public String getLocation()
Locatable
getLocation
in interface Locatable
public String getVersion()
Versioned
getVersion
in interface Versioned
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |