final private LocalStringManager localStrings;
final private boolean managedJob;
public CommandModelImpl(Class<?> commandType) {
Service service = commandType.getAnnotation(Service.class);
commandName = service != null ? service.name() : null;
commandClass = commandType;
i18n = commandType.getAnnotation(I18n.class);
execOn = commandType.getAnnotation(ExecuteOn.class);
localStrings = new LocalStringManagerImpl(commandType);
managedJob = AnnotationUtil.presentTransitive(ManagedJob.class, commandType);