Package com.evolveum.midpoint.ninja.impl
Class NinjaContext
- java.lang.Object
- 
- com.evolveum.midpoint.ninja.impl.NinjaContext
 
- 
- All Implemented Interfaces:
- Closeable,- AutoCloseable
 
 public class NinjaContext extends Object implements Closeable Created by Viliam Repan (lazyman).
- 
- 
Field SummaryFields Modifier and Type Field Description PrintStreamerrPrintStreamout
 - 
Constructor SummaryConstructors Constructor Description NinjaContext(@NotNull PrintStream out, @NotNull PrintStream err, @NotNull List<Object> options, @NotNull NinjaApplicationContextLevel applicationContextLevel)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()List<Object>getAllOptions()org.springframework.context.ApplicationContextgetApplicationContext()com.evolveum.midpoint.audit.api.AuditServicegetAuditService()CharsetgetCharset()LoggetLog()MidpointConfigurationgetMidpointConfiguration()<T> TgetOptions(Class<T> type)PrismContextgetPrismContext()QueryConvertergetQueryConverter()com.evolveum.midpoint.repo.api.RepositoryServicegetRepository()SchemaServicegetSchemaService()LoginitializeLogging(LogTarget target)booleanisBatchMode()booleanisUserMode()booleanisVerbose()voidsetLog(Log log)
 
- 
- 
- 
Field Detail- 
outpublic final PrintStream out 
 - 
errpublic final PrintStream err 
 
- 
 - 
Constructor Detail- 
NinjaContextpublic NinjaContext(@NotNull @NotNull PrintStream out, @NotNull @NotNull PrintStream err, @NotNull @NotNull List<Object> options, @NotNull @NotNull NinjaApplicationContextLevel applicationContextLevel)
 
- 
 - 
Method Detail- 
closepublic void close() - Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
 
 - 
setLogpublic void setLog(Log log) 
 - 
getApplicationContextpublic org.springframework.context.ApplicationContext getApplicationContext() 
 - 
getOptionspublic <T> T getOptions(Class<T> type) 
 - 
getMidpointConfigurationpublic MidpointConfiguration getMidpointConfiguration() 
 - 
getRepositorypublic com.evolveum.midpoint.repo.api.RepositoryService getRepository() 
 - 
getAuditServicepublic com.evolveum.midpoint.audit.api.AuditService getAuditService() 
 - 
isVerbosepublic boolean isVerbose() 
 - 
isBatchModepublic boolean isBatchMode() 
 - 
isUserModepublic boolean isUserMode() 
 - 
getCharsetpublic Charset getCharset() 
 - 
getPrismContextpublic PrismContext getPrismContext() 
 - 
getSchemaServicepublic SchemaService getSchemaService() 
 - 
getLogpublic Log getLog() 
 - 
getQueryConverterpublic QueryConverter getQueryConverter() 
 
- 
 
-