/** * Return whether the extension is required or optional * @return Return {@code true} if the extension is optional. */ public boolean isOptional() { return !this.isRequired(); }
} else if ( ext.isRequired() ) { LOGGER.error("Unable to convert required extension {}", ext.getName()); System.exit(1);
final Extension c = new Extension(e.getType(), e.getName(), e.isRequired()); switch ( c.getType() ) { case ARTIFACTS : for(final Artifact a : e.getArtifacts()) {