InstallCommands.getInstallStatus should be public

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 8
    • Affects Version/s: None
    • Component/s: deploy
    • None
    • b77
    • Not verified

        > using InstallCommands class, the method getInstallStatus() is not visible outside the package and I cannot check the status of what is returned from RegisterDeploy.register(ih).
        >
        > Thanks,
        > Dinesh
        >
        > private boolean registorDeploy() {
        > if((webJava != INVALID_VALUE) && (webJavaSecurityLevel != INVALID_VALUE)) {
        > InstallHints ih = new InstallHints();
        > ih.setCustomSecurityLevel(webJavaSecurityLevel);
        > ih.setWebJavaEnabled(webJava == InstallHints.WEB_JAVA_ENABLED);
        > InstallCommands ic = RegisterDeploy.register(ih);
        > return (ic.getInstallStatus() == ic.STATUS_OK); //*** Error: The method getInstallStatus() from the type InstallCommands is not visible
        > }
        > return false;
        > }

              Assignee:
              Thomas Ng (Inactive)
              Reporter:
              Thomas Ng (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: