This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 56926
Collapse All | Expand All

(-)api/StartServer.java (+25 lines)
Lines 132-137 Link Here
132
    }
132
    }
133
    
133
    
134
    /**
134
    /**
135
     * Returns true if this admin server is suspended.
136
     *
137
     * @since 1.6
138
     */
139
    public abstract boolean isSuspended();
140
    
141
    /**
142
     * Returns true if given target is suspended. This should be
143
     * overwritten by plugins which support multiple target servers via
144
     * one admin server.
145
     *
146
     * @param target the target server in question; null value implies 
147
     *        the query is against the admin server.
148
     * @return true if the server in question is suspended.
149
     * @since 1.6
150
     */
151
    public boolean isSuspended(Target target) {
152
        if (target == null || isAlsoTargetServer(target)) {
153
            return isSuspended();
154
        }
155
        
156
        return false;
157
    }
158
    
159
    /**
135
     * Returns true if the given target is in debug mode.
160
     * Returns true if the given target is in debug mode.
136
     */
161
     */
137
    public abstract boolean isDebuggable(Target target);
162
    public abstract boolean isDebuggable(Target target);

Return to bug 56926