public class NetworkTrafficType extends Object
| Modifier and Type | Field and Description |
|---|---|
static NetworkTrafficType |
JSON
The network traffic in JSON format type
|
static NetworkTrafficType |
PLAIN
The network traffic in plain-text
|
static NetworkTrafficType |
XML
The network traffic in XML format type
|
| Constructor and Description |
|---|
NetworkTrafficType(String type)
Constructs the new network traffic output format type using it's string identifier
|
public static final NetworkTrafficType JSON
public static final NetworkTrafficType XML
public static final NetworkTrafficType PLAIN
public NetworkTrafficType(String type)
type - the string identifier of output format typepublic String getType()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.