private String getVersion() { String version = ""; AboutResource aboutResource = this.aboutOperations.get(); if(aboutResource != null) { version = aboutResource.getVersionInfo().getCore().getVersion(); } return version; }
private String getVersion() { String version = ""; AboutResource aboutResource = this.aboutOperations.get(); if(aboutResource != null) { version = aboutResource.getVersionInfo().getCore().getVersion(); } return version; }
private DataFlowMode getServerDataFlowMode() { if (shell.getDataFlowOperations() == null || shell.getDataFlowOperations().aboutOperation() == null) { throw new IllegalStateException("If the server is available the about operation should be present"); } if (shell.getDataFlowOperations().aboutOperation().get().getFeatureInfo().isSkipperEnabled()) { return DataFlowMode.skipper; } return DataFlowMode.classic; }
throw new DataFlowServerException(this.targetHolder.getTarget().getTargetResultMessage()); AboutResource about = this.shell.getDataFlowOperations().aboutOperation().get();
throw new DataFlowServerException(this.targetHolder.getTarget().getTargetResultMessage()); AboutResource about = this.shell.getDataFlowOperations().aboutOperation().get();