Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.mbeanservers.edit
Interface FileChange

All Superinterfaces:
Serializable

public interface FileChange
extends Serializable

Represent a file that is modified as part of the current Edit session. The path to the file is relative to the config directory.


Field Summary
static String ADD
           
static String EDIT
           
static String REMOVE
           

 

Method Summary
abstract  long getCurrentLastModifiedTime()
          Returns the time that the file for the current configuration was last modified.
abstract  String getOperation()
           
abstract  String getPath()
           
abstract  long getProposedLastModifiedTime()
          Returns the time that the file for the proposed configuration was last modified.

 

Field Detail

EDIT

static final String EDIT
See Also:
Constant Field Values

ADD

static final String ADD
See Also:
Constant Field Values

REMOVE

static final String REMOVE
See Also:
Constant Field Values

Method Detail

getPath

String getPath()
Returns:
The relative path to the file

getOperation

String getOperation()
Returns:
Whether the file is edited, added or removed

getCurrentLastModifiedTime

long getCurrentLastModifiedTime()
Returns the time that the file for the current configuration was last modified. This value is based on the operating system modification time. WLS or the plugins are not keeping track of when a file was modified. For a system component, the current configuration is on the admin server.
Returns:
A long value representing the time the file was last modified (in milliseconds).

getProposedLastModifiedTime

long getProposedLastModifiedTime()
Returns the time that the file for the proposed configuration was last modified. This value is based on the operating system modification time of the file. WLS or the plugins are not keeping track of when a file was modified. For a system component, the proposed configuration is on the non-admin server.
Returns:
A long value representing the time the file was last modified (in milliseconds).

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09