@Addresses(value={"/subsystem=logging/logging-profile=*/log-file=*","/subsystem=logging/log-file=*"}) 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
|
Long |
stream()
Provides the server log as a response attachment.
|
T |
stream(Long 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)
@ModelNodeBinding(detypedName="file-size") public Long fileSize()
@ModelNodeBinding(detypedName="last-modified-time") public Long lastModifiedTime()
public T lastModifiedTime(Long value)
@ModelNodeBinding(detypedName="last-modified-timestamp") public String lastModifiedTimestamp()
public T lastModifiedTimestamp(String value)
@ModelNodeBinding(detypedName="stream") public Long stream()
Copyright © 2016 JBoss by Red Hat. All rights reserved.