Package com.enonic.xp.context
Interface Context
-
- All Superinterfaces:
ScopeAttributes
@PublicApi public interface Context extends ScopeAttributes
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
callWith(Callable<T> runnable)
AuthenticationInfo
getAuthInfo()
Branch
getBranch()
LocalScope
getLocalScope()
RepositoryId
getRepositoryId()
void
runWith(Runnable runnable)
-
Methods inherited from interface com.enonic.xp.context.ScopeAttributes
getAttribute, getAttribute, getAttributes
-
-
-
-
Method Detail
-
getRepositoryId
RepositoryId getRepositoryId()
-
getBranch
Branch getBranch()
-
getAuthInfo
AuthenticationInfo getAuthInfo()
-
runWith
void runWith(Runnable runnable)
-
callWith
<T> T callWith(Callable<T> runnable)
-
getLocalScope
LocalScope getLocalScope()
-
-