public abstract class AbstractContainerLifecycleAction
extends org.apache.karaf.shell.console.AbstractAction
| Modifier and Type | Field and Description |
|---|---|
protected io.fabric8.api.FabricService |
fabricService |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<String> |
expandGlobNames(List<String> containerNames)
Converts a list of possibly wildcard container names into list of available container names.
|
protected List<String> |
matchedAvailableContainers(String pattern)
Returns a list of all available containers matching simple pattern where
* matches any substring
and ? matches single character. |
protected boolean |
matches(String globPattern,
String name)
Simple "glob" pattern matching
|
protected List<String> matchedAvailableContainers(String pattern)
* matches any substring
and ? matches single character.protected Collection<String> expandGlobNames(List<String> containerNames)
Converts a list of possibly wildcard container names into list of available container names.
It also checks if the expanded list has at least one element
Copyright © 2011–2014 Red Hat. All rights reserved.