All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.enonic.xp.context.Context Maven / Gradle / Ivy

There is a newer version: 7.14.4
Show newest version
package com.enonic.xp.context;

import java.util.concurrent.Callable;

import com.enonic.xp.annotation.PublicApi;
import com.enonic.xp.branch.Branch;
import com.enonic.xp.repository.RepositoryId;
import com.enonic.xp.security.auth.AuthenticationInfo;

@PublicApi
public interface Context
    extends ScopeAttributes
{
    RepositoryId getRepositoryId();

    Branch getBranch();

    AuthenticationInfo getAuthInfo();

    void runWith( Runnable runnable );

     T callWith( Callable runnable );

    LocalScope getLocalScope();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy