All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.as.console.client.widgets.nav.Predicate Maven / Gradle / Ivy

Go to download

Bundles the core AS7 console as a GWT module. Includes minor customizations to support extensions.

There is a newer version: 0.7.0.Final
Show newest version
package org.jboss.as.console.client.widgets.nav;

import org.jboss.ballroom.client.layout.LHSNavTreeItem;

/**
 * @author Heiko Braun
 * @date 1/19/12
 */
public final class Predicate {
    private String subsysName;
    private LHSNavTreeItem navItem;

    public Predicate(String subsysName, LHSNavTreeItem navItem) {
        this.subsysName = subsysName;
        this.navItem = navItem;
    }

    public boolean matches(String current) {
        return current.equals(subsysName);
    }

    public LHSNavTreeItem getNavItem() {
        return navItem;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy