Package com.treescrub.spedran.data
Class Level
- java.lang.Object
-
- com.treescrub.spedran.data.Resource
-
- com.treescrub.spedran.data.IdentifiableResource
-
- com.treescrub.spedran.data.IdentifiableNamedResource
-
- com.treescrub.spedran.data.Level
-
public class Level extends IdentifiableNamedResource
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LevelCategoriesRequestgetCategories()Gets a newLevelCategoriesRequestbuilder object to request categories for this level.LevelRecordsRequestgetRecords()Gets a newLevelRecordsRequestbuilder object to request records for this level.Optional<String>getRules()Gets the rules text for this level.RunsRequestgetRuns()Gets a newRunsRequestbuilder object to request all runs on this level.LevelVariablesRequestgetVariables()Gets a newLevelVariablesRequestbuilder object to request variables for this level.StringgetWeblink()Gets the link to this level on SRC.StringtoString()-
Methods inherited from class com.treescrub.spedran.data.IdentifiableNamedResource
getName
-
Methods inherited from class com.treescrub.spedran.data.IdentifiableResource
equals, getId, hashCode
-
-
-
-
Method Detail
-
getRuns
public RunsRequest getRuns()
Gets a newRunsRequestbuilder object to request all runs on this level.- Returns:
- a
RunsRequestbuilder
-
getCategories
public LevelCategoriesRequest getCategories()
Gets a newLevelCategoriesRequestbuilder object to request categories for this level.- Returns:
- a
LevelCategoriesRequestbuilder
-
getRecords
public LevelRecordsRequest getRecords()
Gets a newLevelRecordsRequestbuilder object to request records for this level.- Returns:
- a
LevelRecordsRequestbuilder
-
getVariables
public LevelVariablesRequest getVariables()
Gets a newLevelVariablesRequestbuilder object to request variables for this level.- Returns:
- a
LevelVariablesRequestbuilder
-
getWeblink
public String getWeblink()
Gets the link to this level on SRC.- Returns:
- a link to the level on SRC
-
getRules
public Optional<String> getRules()
Gets the rules text for this level.- Returns:
- an
Optionalwith the rules text if it is set, empty if no level specific rules were set
-
-