public abstract class AbstractDistributionPackage extends Object implements SharedDistributionPackage
DistributionPackage
Modifier and Type | Field and Description |
---|---|
static String |
PACKAGES_ROOT |
Modifier | Constructor and Description |
---|---|
protected |
AbstractDistributionPackage(String id,
String type) |
Modifier and Type | Method and Description |
---|---|
String |
getId()
get package id.
|
DistributionPackageInfo |
getInfo()
gets an additional info holder for this package.
|
String |
getType()
get the type of package
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acquire, release
close, createInputStream, delete, getSize
public static final String PACKAGES_ROOT
@Nonnull public DistributionPackageInfo getInfo()
DistributionPackage
getInfo
in interface DistributionPackage
@Nonnull public String getId()
DistributionPackage
getId
in interface DistributionPackage
@Nonnull public String getType()
DistributionPackage
getType
in interface DistributionPackage
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.