Package org.hyperonline.hyperlib.auto
Class AutonomousPreference
- java.lang.Object
-
- org.hyperonline.hyperlib.auto.AutonomousPreference
-
public class AutonomousPreference extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAutonomousPreference.Type
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPREFERENCES_LOCATIONstatic java.lang.StringSEPERATOR
-
Constructor Summary
Constructors Constructor Description AutonomousPreference(AutonomousRoutine routine, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)java.lang.StringgetFullPath()java.lang.StringgetName()AutonomousRoutinegetRoutine()AutonomousPreference.TypegetType()inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
SEPERATOR
public static final java.lang.String SEPERATOR
- See Also:
- Constant Field Values
-
PREFERENCES_LOCATION
public static final java.lang.String PREFERENCES_LOCATION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AutonomousPreference
public AutonomousPreference(AutonomousRoutine routine, java.lang.String name)
- Parameters:
routine- the routine to tie the preference toname- the name of the preference
-
-
Method Detail
-
getType
public AutonomousPreference.Type getType()
-
getName
public java.lang.String getName()
-
getRoutine
public AutonomousRoutine getRoutine()
-
getFullPath
public java.lang.String getFullPath()
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- Returns:
- {String}
-
-