public class LogFile<T extends LogFile<T>> extends Object
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
|
String |
stream()
Provides the server log as a response attachment.
|
T |
stream(String value)
Provides the server log as a response attachment.
|
public 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 String stream()
Copyright © 2020 JBoss by Red Hat. All rights reserved.