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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNinjaContext(@NotNull PrintStream out, @NotNull PrintStream err, @NotNull List<Object> options, @NotNull NinjaApplicationContextLevel applicationContextLevel) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()org.springframework.context.ApplicationContextgetLog()<T> TgetOptions(Class<T> type) initializeLogging(LogTarget target) booleanbooleanbooleanvoid
-
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:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
initializeLogging
-
setLog
-
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext() -
getOptions
-
getAllOptions
-
getMidpointConfiguration
-
getRepository
-
getAuditService
-
isVerbose
public boolean isVerbose() -
isBatchMode
public boolean isBatchMode() -
isUserMode
public boolean isUserMode() -
getCharset
-
getPrismContext
-
getSchemaService
-
getLog
-
getQueryConverter
-