Class CommandItemInfoImpl
- java.lang.Object
-
- ru.vyarus.dropwizard.guice.module.context.info.impl.ItemInfoImpl
-
- ru.vyarus.dropwizard.guice.module.context.info.impl.ClassItemInfoImpl
-
- ru.vyarus.dropwizard.guice.module.context.info.impl.CommandItemInfoImpl
-
- All Implemented Interfaces:
ClassItemInfo
,CommandItemInfo
,ItemInfo
,ScanSupport
public class CommandItemInfoImpl extends ClassItemInfoImpl implements CommandItemInfo
Command item info implementation.- Since:
- 27.07.2016
-
-
Constructor Summary
Constructors Constructor Description CommandItemInfoImpl(java.lang.Class<?> type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEnvironmentCommand()
boolean
isFromScan()
-
Methods inherited from class ru.vyarus.dropwizard.guice.module.context.info.impl.ItemInfoImpl
countRegistrationAttempt, getId, getIgnoresByScope, getIgnoresByScope, getItemType, getRegisteredBy, getRegistrationAttempts, getRegistrationScope, getRegistrationScopeType, getType, isRegistered, isRegisteredDirectly, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ru.vyarus.dropwizard.guice.module.context.info.ItemInfo
getId, getIgnoresByScope, getIgnoresByScope, getItemType, getRegisteredBy, getRegistrationAttempts, getRegistrationScope, getRegistrationScopeType, getType, isRegistered, isRegisteredDirectly
-
-
-
-
Method Detail
-
isFromScan
public boolean isFromScan()
- Specified by:
isFromScan
in interfaceScanSupport
- Returns:
- true if item found by classpath scan, false otherwise
-
isEnvironmentCommand
public boolean isEnvironmentCommand()
- Specified by:
isEnvironmentCommand
in interfaceCommandItemInfo
- Returns:
- true if command is environment command, false otherwise
-
-