Examples of OptionalParameters_Type


Examples of org.nimbustools.messaging.gt4_0.generated.types.OptionalParameters_Type

            net = log.getNetworking();
        }

        final CustomizeTask_Type[] customizes;

        final OptionalParameters_Type optional = wsreq.getOptionalParameters();
        if (optional != null) {
            customizes = optional.getFilewrite();
            req.setMdUserData(optional.getMdServerUserdata());
            req.setCredential(optional.getCredentialToCopy());
        } else {
            customizes = null;
        }

        // Boolean object can be null for conversion like this (null==false)
View Full Code Here

Examples of org.nimbustools.messaging.gt4_0.generated.types.OptionalParameters_Type

            } catch (Exception e) {
                final String err = "Problem with optional parameters file: ";
                throw new ParameterProblem(err + e.getMessage(), e);
            }
        } else {
            this.optionalParameters = new OptionalParameters_Type();
        }

        if (this.args.sshKeyPath != null) {
            this._handleSshKeyPath();
        }
View Full Code Here

Examples of org.nimbustools.messaging.gt4_0.generated.types.OptionalParameters_Type

        final EndpointReferenceType epr = delegate.delegate();
       
        //this.delegationWasPerformed = true;

        final OptionalParameters_Type opt = this.d.optionalParameters;
        if (opt == null) {
            throw new ParameterProblem(
                    "(?) optional parameters is missing, but delegation " +
                            "was performed?");
        }

        if (opt.getStageIn() != null
                && opt.getStageIn().getStagingCredential() == null) {

            opt.getStageIn().setStagingCredential(epr);

            if (this.d.delegationXferCredToo) {
                opt.getStageIn().setTransferCredential(epr);
            }
        }

        if (opt.getStageOut() != null
                && opt.getStageOut().getStagingCredential() == null) {

            opt.getStageOut().setStagingCredential(epr);

            if (this.d.delegationXferCredToo) {
                opt.getStageOut().setTransferCredential(epr);
            }
        }

        // TODO: fish out delegation resource key for printing
        //if (this.pr.enabled()) {
View Full Code Here

Examples of org.nimbustools.messaging.gt4_0.generated.types.OptionalParameters_Type

            } else if (print.useLogging()) {
                logger.debug(msg);
            }
        }

        OptionalParameters_Type opt = null;
        BufferedInputStream in = null;
        try {
            in = new BufferedInputStream(new FileInputStream(optpath));
            opt = (OptionalParameters_Type)
                        ObjectDeserializer.deserialize(
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.