Package com.evolveum.midpoint.ninja.impl
Class NinjaContext
java.lang.Object
com.evolveum.midpoint.ninja.impl.NinjaContext
- All Implemented Interfaces:
Closeable
,AutoCloseable
Created by Viliam Repan (lazyman).
-
Field Summary
-
Constructor Summary
ConstructorDescriptionNinjaContext
(@NotNull PrintStream out, @NotNull PrintStream err, @NotNull List<Object> options, @NotNull NinjaApplicationContextLevel applicationContextLevel) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
org.springframework.context.ApplicationContext
com.evolveum.midpoint.audit.api.AuditService
getLog()
<T> T
getOptions
(Class<T> type) com.evolveum.midpoint.repo.api.RepositoryService
initializeLogging
(LogTarget target) boolean
boolean
boolean
void
-
Field Details
-
out
-
err
-
-
Constructor Details
-
NinjaContext
public NinjaContext(@NotNull @NotNull PrintStream out, @NotNull @NotNull PrintStream err, @NotNull @NotNull List<Object> options, @NotNull @NotNull NinjaApplicationContextLevel applicationContextLevel)
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
initializeLogging
-
setLog
-
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext() -
getOptions
-
getAllOptions
-
getMidpointConfiguration
-
getRepository
public com.evolveum.midpoint.repo.api.RepositoryService getRepository() -
getAuditService
public com.evolveum.midpoint.audit.api.AuditService getAuditService() -
isVerbose
public boolean isVerbose() -
isBatchMode
public boolean isBatchMode() -
isUserMode
public boolean isUserMode() -
getCharset
-
getPrismContext
-
getSchemaService
-
getLog
-
getQueryConverter
-