Package org.apache.maven.buildcache
Class CacheResult
- java.lang.Object
-
- org.apache.maven.buildcache.CacheResult
-
public class CacheResult extends Object
CacheResult
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CacheResult
empty()
static CacheResult
empty(CacheContext context)
static CacheResult
failure(CacheContext context)
static CacheResult
failure(Build build, CacheContext context)
Build
getBuildInfo()
CacheContext
getContext()
CacheSource
getSource()
RestoreStatus
getStatus()
boolean
isFinal()
boolean
isPartialSuccess()
boolean
isSuccess()
static CacheResult
partialSuccess(Build build, CacheContext context)
static CacheResult
rebuilded(CacheResult orig, Build build)
static CacheResult
success(Build build, CacheContext context)
-
-
-
Method Detail
-
empty
public static CacheResult empty(CacheContext context)
-
empty
public static CacheResult empty()
-
failure
public static CacheResult failure(Build build, CacheContext context)
-
success
public static CacheResult success(Build build, CacheContext context)
-
partialSuccess
public static CacheResult partialSuccess(Build build, CacheContext context)
-
failure
public static CacheResult failure(CacheContext context)
-
rebuilded
public static CacheResult rebuilded(CacheResult orig, Build build)
-
isSuccess
public boolean isSuccess()
-
getBuildInfo
public Build getBuildInfo()
-
getSource
public CacheSource getSource()
-
getContext
public CacheContext getContext()
-
isPartialSuccess
public boolean isPartialSuccess()
-
getStatus
public RestoreStatus getStatus()
-
isFinal
public boolean isFinal()
-
-