public class CommonZPOOLDetector extends Object implements ZPOOLDetector
Modifier and Type | Class and Description |
---|---|
protected static class |
CommonZPOOLDetector.InfoType |
Constructor and Description |
---|
CommonZPOOLDetector(Host host) |
Modifier and Type | Method and Description |
---|---|
protected Pool |
addDeviceToPool(Pool pool,
ZFSDevice device) |
protected String[] |
cleanSplit(String line,
String sep) |
Map<String,ZPOOL> |
getPools() |
protected void |
handleConfig(String line) |
protected void |
handlePoolName() |
protected ZFSDevice |
mapLabelToDevice(String line) |
protected Pool |
mapLineToPool(Pool.Type type,
String line) |
protected ZPOOL |
mapLineToZPool(String line) |
void |
parse(BufferedReader reader) |
protected void |
saveAndResetContent() |
public CommonZPOOLDetector(Host host)
public Map<String,ZPOOL> getPools()
getPools
in interface ZPOOLDetector
public void parse(BufferedReader reader)
parse
in interface de.javastream.javassh.parser.ProcessParser
protected void handlePoolName()
protected void saveAndResetContent()
protected void handleConfig(String line)
Copyright © 2017. All Rights Reserved.