public static interface WebappStructure.RegistrationCallback
Modifier and Type | Method and Description |
---|---|
void |
alreadyRegistered(String ownerId,
String targetFilename)
Called if the targetFilename for the specified ownerId
has already been registered.
|
void |
refused(String ownerId,
String targetFilename,
String actualOwnerId)
Called if the registration of the targetFilename for the
specified ownerId has been refused since the path already
belongs to the actualOwnerId.
|
void |
registered(String ownerId,
String targetFilename)
Called if the targetFilename for the specified ownerId
has been registered successfully.
|
void |
superseded(String ownerId,
String targetFilename,
String deprecatedOwnerId)
Called if the targetFilename for the specified ownerId
has been registered successfully by superseding a deprecatedOwnerId,
that is the previous owner of the file.
|
void |
supersededUnknownOwner(String ownerId,
String targetFilename,
String unknownOwnerId)
Called if the targetFilename for the specified ownerId
has been registered successfully by superseding a unknownOwnerId,
that is an owner that does not exist anymore in the current project.
|
void registered(String ownerId, String targetFilename) throws IOException
ownerId
- the ownerIdtargetFilename
- the relative path according to the root of the webappIOException
- if an error occurred while handling this eventvoid alreadyRegistered(String ownerId, String targetFilename) throws IOException
ownerId
- the ownerIdtargetFilename
- the relative path according to the root of the webappIOException
- if an error occurred while handling this eventvoid refused(String ownerId, String targetFilename, String actualOwnerId) throws IOException
ownerId
- the ownerIdtargetFilename
- the relative path according to the root of the webappactualOwnerId
- the actual ownerIOException
- if an error occurred while handling this eventvoid superseded(String ownerId, String targetFilename, String deprecatedOwnerId) throws IOException
ownerId
- the ownerIdtargetFilename
- the relative path according to the root of the webappdeprecatedOwnerId
- the previous owner that does not exist anymoreIOException
- if an error occurred while handling this eventvoid supersededUnknownOwner(String ownerId, String targetFilename, String unknownOwnerId) throws IOException
ownerId
- the ownerIdtargetFilename
- the relative path according to the root of the webappunknownOwnerId
- the previous owner that does not exist anymoreIOException
- if an error occurred while handling this eventCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.