Ajocado API 1.0.0.Alpha2

org.jboss.arquillian.ajocado.encapsulated
Class NetworkTrafficType

java.lang.Object
  extended by org.jboss.arquillian.ajocado.encapsulated.NetworkTrafficType

public class NetworkTrafficType
extends Object

The enumeration of supported network traffic types.

Version:
$Revision$
Author:
Lukas Fryc

Field Summary
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 Summary
NetworkTrafficType(String type)
          Constructs the new network traffic output format type using it's string identifier
 
Method Summary
 String getType()
          Returns the type's string identifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JSON

public static final NetworkTrafficType JSON
The network traffic in JSON format type


XML

public static final NetworkTrafficType XML
The network traffic in XML format type


PLAIN

public static final NetworkTrafficType PLAIN
The network traffic in plain-text

Constructor Detail

NetworkTrafficType

public NetworkTrafficType(String type)
Constructs the new network traffic output format type using it's string identifier

Parameters:
type - the string identifier of output format type
Method Detail

getType

public String getType()
Returns the type's string identifier

Returns:
the type's string identifier

Ajocado API 1.0.0.Alpha2

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.