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 class
AutonomousPreference.Type
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PREFERENCES_LOCATION
static java.lang.String
SEPERATOR
-
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 boolean
equals(java.lang.Object other)
java.lang.String
getFullPath()
java.lang.String
getName()
AutonomousRoutine
getRoutine()
AutonomousPreference.Type
getType()
int
hashCode()
java.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- Returns:
- {String}
-
-