org.mmbase.applications.packaging.providerhandlers
Interface ProviderInterface

All Known Implementing Classes:
BasicProvider, DiskProvider, HttpProvider

public interface ProviderInterface

Interface for all the provider handlers

Author:
danielockeloen

Method Summary
 boolean close()
          Description of the Method
 int getBaseScore()
          Gets the baseScore attribute of the ProviderInterface object
 java.lang.String getDescription()
          Gets the description attribute of the ProviderInterface object
 java.util.jar.JarFile getIncludedPackageJarFile(java.lang.String path, java.lang.String id, java.lang.String version, java.lang.String packageid, java.lang.String packageversion)
          Gets the includedPackageJarFile attribute of the ProviderInterface object
 java.util.jar.JarFile getJarFile(java.lang.String path, java.lang.String id, java.lang.String version)
          Gets the jarFile attribute of the ProviderInterface object
 java.io.BufferedInputStream getJarStream(java.lang.String path)
          Gets the jarStream attribute of the ProviderInterface object
 java.lang.String getMaintainer()
          Gets the maintainer attribute of the ProviderInterface object
 java.lang.String getMethod()
          Gets the method attribute of the ProviderInterface object
 java.lang.String getName()
          Gets the name attribute of the ProviderInterface object
 void getPackages()
          Gets the packages attribute of the ProviderInterface object
 java.lang.String getPath()
          Gets the path attribute of the ProviderInterface object
 java.lang.String getState()
          Gets the state attribute of the ProviderInterface object
 void init(org.w3c.dom.Node n, java.lang.String name, java.lang.String method, java.lang.String maintainer)
          Description of the Method
 void init(java.lang.String name, java.lang.String method, java.lang.String maintainer, java.lang.String path)
          Description of the Method
 long lastSeen()
          Description of the Method
 boolean publish(CreatorInterface creator, BundleInterface bundle, java.lang.String sharepassword)
           
 boolean publish(CreatorInterface creator, PackageInterface p, java.lang.String sharepassword)
           
 void setAccount(java.lang.String account)
          Sets the account attribute of the ProviderInterface object
 void setDescription(java.lang.String description)
          Sets the description attribute of the ProviderInterface object
 void setInstallStep(installStep step)
          Sets the installStep attribute of the ProviderInterface object
 void setMaintainer(java.lang.String maintainer)
          Sets the maintainer attribute of the ProviderInterface object
 void setPackageStep(packageStep step)
           
 void setPassword(java.lang.String password)
          Sets the password attribute of the ProviderInterface object
 void setPath(java.lang.String path)
          Sets the path attribute of the ProviderInterface object
 void setState(java.lang.String state)
          Sets the state attribute of the ProviderInterface object
 void signalUpdate()
          Description of the Method
 

Method Detail

getName

java.lang.String getName()
Gets the name attribute of the ProviderInterface object

Returns:
The name value

getMethod

java.lang.String getMethod()
Gets the method attribute of the ProviderInterface object

Returns:
The method value

getPath

java.lang.String getPath()
Gets the path attribute of the ProviderInterface object

Returns:
The path value

getState

java.lang.String getState()
Gets the state attribute of the ProviderInterface object

Returns:
The state value

getMaintainer

java.lang.String getMaintainer()
Gets the maintainer attribute of the ProviderInterface object

Returns:
The maintainer value

getDescription

java.lang.String getDescription()
Gets the description attribute of the ProviderInterface object

Returns:
The description value

setMaintainer

void setMaintainer(java.lang.String maintainer)
Sets the maintainer attribute of the ProviderInterface object

Parameters:
maintainer - The new maintainer value

setPath

void setPath(java.lang.String path)
Sets the path attribute of the ProviderInterface object

Parameters:
path - The new path value

setInstallStep

void setInstallStep(installStep step)
Sets the installStep attribute of the ProviderInterface object

Parameters:
step - The installstep

setPackageStep

void setPackageStep(packageStep step)

setDescription

void setDescription(java.lang.String description)
Sets the description attribute of the ProviderInterface object

Parameters:
description - The new description value

setState

void setState(java.lang.String state)
Sets the state attribute of the ProviderInterface object

Parameters:
state - The new state value

setAccount

void setAccount(java.lang.String account)
Sets the account attribute of the ProviderInterface object

Parameters:
account - The new account value

setPassword

void setPassword(java.lang.String password)
Sets the password attribute of the ProviderInterface object

Parameters:
password - The new password value

getBaseScore

int getBaseScore()
Gets the baseScore attribute of the ProviderInterface object

Returns:
The baseScore value

getJarFile

java.util.jar.JarFile getJarFile(java.lang.String path,
                                 java.lang.String id,
                                 java.lang.String version)
Gets the jarFile attribute of the ProviderInterface object

Parameters:
path - Description of the Parameter
id - Description of the Parameter
version - Description of the Parameter
Returns:
The jarFile value

getIncludedPackageJarFile

java.util.jar.JarFile getIncludedPackageJarFile(java.lang.String path,
                                                java.lang.String id,
                                                java.lang.String version,
                                                java.lang.String packageid,
                                                java.lang.String packageversion)
Gets the includedPackageJarFile attribute of the ProviderInterface object

Parameters:
path - Description of the Parameter
id - Description of the Parameter
version - Description of the Parameter
packageid - Description of the Parameter
packageversion - Description of the Parameter
Returns:
The includedPackageJarFile value

getJarStream

java.io.BufferedInputStream getJarStream(java.lang.String path)
Gets the jarStream attribute of the ProviderInterface object

Parameters:
path - Description of the Parameter
Returns:
The jarStream value

signalUpdate

void signalUpdate()
Description of the Method


lastSeen

long lastSeen()
Description of the Method

Returns:
Description of the Return Value

close

boolean close()
Description of the Method

Returns:
Description of the Return Value

getPackages

void getPackages()
Gets the packages attribute of the ProviderInterface object


init

void init(org.w3c.dom.Node n,
          java.lang.String name,
          java.lang.String method,
          java.lang.String maintainer)
Description of the Method

Parameters:
n - Description of the Parameter
name - Description of the Parameter
method - Description of the Parameter
maintainer - Description of the Parameter

init

void init(java.lang.String name,
          java.lang.String method,
          java.lang.String maintainer,
          java.lang.String path)
Description of the Method

Parameters:
name - Description of the Parameter
method - Description of the Parameter
maintainer - Description of the Parameter
path - Description of the Parameter

publish

boolean publish(CreatorInterface creator,
                BundleInterface bundle,
                java.lang.String sharepassword)

publish

boolean publish(CreatorInterface creator,
                PackageInterface p,
                java.lang.String sharepassword)


packaging build ${version}