org.apache.maven.plugin.war.util
public static interface WebappStructure.RegistrationCallback
Modifier and Type | Method and Description |
---|---|
void |
alreadyRegistered(java.lang.String ownerId,
java.lang.String targetFilename)
Called if the targetFilename for the specified ownerId
has already been registered.
|
void |
refused(java.lang.String ownerId,
java.lang.String targetFilename,
java.lang.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(java.lang.String ownerId,
java.lang.String targetFilename)
Called if the targetFilename for the specified ownerId
has been registered successfully.
|
void |
superseded(java.lang.String ownerId,
java.lang.String targetFilename,
java.lang.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(java.lang.String ownerId,
java.lang.String targetFilename,
java.lang.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(java.lang.String ownerId, java.lang.String targetFilename) throws java.io.IOException
ownerId
- the ownerIdtargetFilename
- the relative path according to the root of the webappjava.io.IOException
- if an error occurred while handling this eventvoid alreadyRegistered(java.lang.String ownerId, java.lang.String targetFilename) throws java.io.IOException
ownerId
- the ownerIdtargetFilename
- the relative path according to the root of the webappjava.io.IOException
- if an error occurred while handling this eventvoid refused(java.lang.String ownerId, java.lang.String targetFilename, java.lang.String actualOwnerId) throws java.io.IOException
ownerId
- the ownerIdtargetFilename
- the relative path according to the root of the webappactualOwnerId
- the actual ownerjava.io.IOException
- if an error occurred while handling this eventvoid superseded(java.lang.String ownerId, java.lang.String targetFilename, java.lang.String deprecatedOwnerId) throws java.io.IOException
ownerId
- the ownerIdtargetFilename
- the relative path according to the root of the webappdeprecatedOwnerId
- the previous owner that does not exist anymorejava.io.IOException
- if an error occurred while handling this eventvoid supersededUnknownOwner(java.lang.String ownerId, java.lang.String targetFilename, java.lang.String unknownOwnerId) throws java.io.IOException
ownerId
- the ownerIdtargetFilename
- the relative path according to the root of the webappunknownOwnerId
- the previous owner that does not exist anymorejava.io.IOException
- if an error occurred while handling this eventCopyright © 2014. All Rights Reserved.