Integer.parseInt(cl.getOptionValue("pending-cmove")));
}
private static void configureTransferCapability(DcmQRSCP main, CommandLine cl)
throws IOException {
ApplicationEntity ae = main.ae;
EnumSet<QueryOption> queryOptions = cl.hasOption("relational")
? EnumSet.of(QueryOption.RELATIONAL)
: EnumSet.noneOf(QueryOption.class);
boolean storage = !cl.hasOption("no-storage") && main.isWriteable();
if (storage && cl.hasOption("all-storage")) {
TransferCapability tc = new TransferCapability(null,
"*",
TransferCapability.Role.SCP,
"*");
tc.setQueryOptions(queryOptions);
ae.addTransferCapability(tc);
} else {
ae.addTransferCapability(
new TransferCapability(null,
UID.VerificationSOPClass,
TransferCapability.Role.SCP,
UID.ImplicitVRLittleEndian));
Properties storageSOPClasses = CLIUtils.loadProperties(