public class LogFile<T extends LogFile<T>> extends HashMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Long |
fileSize()
The size of the log file in bytes.
|
T |
fileSize(Long value)
The size of the log file in bytes.
|
String |
getKey() |
Long |
lastModifiedTime()
The date, in milliseconds, the file was last modified.
|
T |
lastModifiedTime(Long value)
The date, in milliseconds, the file was last modified.
|
String |
lastModifiedTimestamp()
The date, in ISO 8601 format, the file was last modified.
|
T |
lastModifiedTimestamp(String value)
The date, in ISO 8601 format, the file was last modified.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Long |
stream()
Provides the server log as a response attachment.
|
T |
stream(Long value)
Provides the server log as a response attachment.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic LogFile(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Long fileSize()
public Long lastModifiedTime()
public T lastModifiedTime(Long value)
public String lastModifiedTimestamp()
public T lastModifiedTimestamp(String value)
public Long stream()
Copyright © 2017 JBoss by Red Hat. All rights reserved.