|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DashboardCachingManager
Interface for viewing the dashboard. Should never be used for updates
Method Summary | |
---|---|
java.util.List<Chain> |
getAllChains()
Deprecated. since 3.0, use getAllTopLevelPlans() |
java.util.List<TopLevelPlan> |
getAllTopLevelPlans()
Returns all top level plans (plans and chains) in the system |
java.util.Collection<TopLevelPlan> |
getAllTopLevelPlansUpdatedSince(long systemTime)
Returns all builds since a given time |
Chain |
getChain(java.lang.String chainKey)
Deprecated. since 3.0, use $ getPlan(PlanKey) |
TopLevelPlan |
getPlan(PlanKey planKey)
Returns the cached plan for a given planKey |
TopLevelPlan |
getPlan(java.lang.String planKey)
Deprecated. since 3.0, use $ getPlan(PlanKey) |
void |
removePlanFromCache(PlanKey planKey)
Removes the plan from the cache |
void |
removePlanFromCache(java.lang.String planKey)
Deprecated. since 3.0 us $ removePlanFromCache(PlanKey) |
void |
resetCache()
Clears the cache |
void |
updatePlanCache(PlanKey planKey)
Refetches the passed plan key from the database |
void |
updatePlanCache(java.lang.String planKey)
Deprecated. since 3.0 us $ updatePlanCache(PlanKey) |
Method Detail |
---|
@NotNull java.util.List<TopLevelPlan> getAllTopLevelPlans()
@Nullable TopLevelPlan getPlan(@NotNull PlanKey planKey)
planKey
-
java.util.Collection<TopLevelPlan> getAllTopLevelPlansUpdatedSince(long systemTime)
systemTime
-
@Nullable @Deprecated TopLevelPlan getPlan(@NotNull java.lang.String planKey)
getPlan(PlanKey)
planKey
-
@Nullable @Deprecated Chain getChain(@NotNull java.lang.String chainKey)
getPlan(PlanKey)
chainKey
-
@NotNull @Deprecated java.util.List<Chain> getAllChains()
void resetCache()
void updatePlanCache(@NotNull PlanKey planKey)
planKey
- Key of the plan to be updatedvoid removePlanFromCache(@NotNull PlanKey planKey)
planKey
- Key of the plan to be removed from cache@Deprecated void updatePlanCache(@NotNull java.lang.String planKey)
updatePlanCache(PlanKey)
planKey
- Key of the plan to be updated@Deprecated void removePlanFromCache(@NotNull java.lang.String planKey)
removePlanFromCache(PlanKey)
planKey
- Key of the plan to be removed from cache
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |