code stringlengths 73 34.1k | label stringclasses 1
value |
|---|---|
void remove(PatternWrapper pattern, Conjunction selector, MatchTarget object,
InternTable subExpr, OrdinalPosition parentId) throws MatchingException {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "remove", new Object[]{pattern,selector,object,subExpr});
switch (pattern.getState()) {
case Pa... | java |
void get(char[] chars, int start, int length, boolean invert, MatchSpaceKey msg,
EvalCache cache, Object contextValue, SearchResults result)
throws MatchingException, BadMessageFormatMatchingException {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "get", new Object[]{chars,new Integer(start),ne... | java |
void doPartialGet(char[] chars, int start, int length, boolean invert, MatchSpaceKey msg,
EvalCache cache, Object contextValue, SearchResults result)
throws MatchingException, BadMessageFormatMatchingException {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "doPartialGet", new Object[] {chars,new... | java |
private MatchManyWrapper findMatchManyWrapper(PatternWrapper pattern)
{
MatchManyWrapper wrapper = null;
if (matchManyChildren != null)
{
// Iterate over the matchManyChildren
Iterator iter = matchManyChildren.iterator();
while(iter.hasNext())
{
MatchManyWrapper nextElemen... | java |
@Override
public Principal getCallerPrincipal() {
synchronized (this) {
if ((state == PRE_CREATE) || (state == CREATING) || (!allowRollbackOnly))
throw new IllegalStateException();
}
return super.getCallerPrincipal();
} | java |
public MQLinkHandler getMQLinkHandler()
{
if (tc.isEntryEnabled())
{
SibTr.entry(tc, "getMQLinkHandler");
SibTr.exit(tc, "getMQLinkHandler", _mqLinkHandler);
}
return _mqLinkHandler;
} | java |
public void markAsToBeDeleted(Transaction transaction) throws SIResourceException
{
if (tc.isEntryEnabled())
SibTr.entry(tc, "markAsToBeDeleted", transaction);
toBeDeleted = Boolean.TRUE;
try
{
requestUpdate(transaction);
}
catch (MessageStoreException e)
{
... | java |
public NavigationCase getNavigationCase(FacesContext facesContext, String fromAction, String outcome)
{
NavigationContext navigationContext = new NavigationContext();
try
{
return getNavigationCommand(facesContext, navigationContext, fromAction, outcome, null);
}
... | java |
private NavigationCase createNavigationCase(String fromViewId, String outcome, String toViewId)
{
return new NavigationCase(fromViewId, null, outcome, null, toViewId, null, false, false);
} | java |
public String getViewId(FacesContext context, String fromAction, String outcome)
{
return this.getNavigationCase(context, fromAction, outcome).getToViewId(context);
} | java |
@FFDCIgnore({NumberFormatException.class, IllegalArgumentException.class, ParseException.class})
private long handleRetry(String retryValue) {
// RETRY_AFTER is a String that can either correspond to seconds (long)
// or a HTTP-Date (which can be one of 7 variations)"
if (!(retryValue.con... | java |
public static final void WASInstallDirectory(String WASInstallDirectory)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "WASInstallDirectory", WASInstallDirectory);
_WASInstallDirectory = WASInstallDirectory;
if (tc.isEntryEnabled())
Tr.exit(tc, "WASInstallDirectory");
... | java |
public static final void cellName(String name)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "cellName", name);
_cellName = name;
if (tc.isEntryEnabled())
Tr.exit(tc, "cellName");
} | java |
public static final void clusterName(String name)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "clusterName", name);
_clusterName = name;
if (tc.isEntryEnabled())
Tr.exit(tc, "clusterName");
} | java |
public static final void nodeName(String name)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "nodeName", name);
_nodeName = name;
if (tc.isEntryEnabled())
Tr.exit(tc, "nodeName");
} | java |
public static final void serverName(String name)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "serverName", name);
_serverName = name;
if (tc.isEntryEnabled())
Tr.exit(tc, "serverName");
} | java |
public static final void serverShortName(String name)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "serverShortName", name);
_serverShortName = name;
if (tc.isEntryEnabled())
Tr.exit(tc, "serverShortName");
} | java |
public static final void uuid(String uuid)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "uuid", uuid);
_uuid = uuid;
if (tc.isEntryEnabled())
Tr.exit(tc, "uuid");
} | java |
public static final String fqServerName()
{
if (tc.isEntryEnabled())
Tr.entry(tc, "fqServerName");
String fqServerName = _serverName; // RLSUtils.FQHAMCompatibleServerName(_cellName,_nodeName,_serverName); tWAS
if (tc.isEntryEnabled())
Tr.exit(tc, "fqServerName", fq... | java |
public static final void HAEnabled(boolean HAEnabled)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "HAEnabled", new Boolean(HAEnabled));
_HAEnabled = HAEnabled;
if (tc.isEntryEnabled())
Tr.exit(tc, "HAEnabled");
} | java |
public static final void localFailureScope(FailureScope localFailureScope)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "localFailureScope", localFailureScope);
_localFailureScope = localFailureScope;
if (tc.isEntryEnabled())
Tr.exit(tc, "localFailureScope");
} | java |
public static final boolean isZOS()
{
if (tc.isEntryEnabled())
Tr.entry(tc, "isZOS");
if (tc.isEntryEnabled())
Tr.exit(tc, "isZOS", new Boolean(_isZOS));
return _isZOS;
} | java |
public static final void useFileLocking(boolean useFileLocking)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "useFileLocking", new Boolean(useFileLocking));
_useFileLocking = useFileLocking;
if (tc.isEntryEnabled())
Tr.exit(tc, "useFileLocking");
} | java |
private void registerDefaultDelegationProvider(ComponentContext cc) {
defaultDelegationProvider = new DefaultDelegationProvider();
defaultDelegationProvider.setSecurityService(securityServiceRef.getService());
defaultDelegationProvider.setIdentityStoreHandlerService(identityStoreHandlerServiceRe... | java |
private Map<String, RoleSet> updateMapForSpecialSubject(String appName,
Map<String, RoleSet> specialSubjectToRolesMap,
String specialSubjectName) {
RoleSet computedRoles = RoleSet.EMPTY_ROLESE... | java |
@FFDCIgnore(EntryNotFoundException.class)
private String getMissingAccessId(com.ibm.ws.javaee.dd.appbnd.Subject subjectFromArchive) {
String subjectType = null;
try {
SecurityService securityService = securityServiceRef.getService();
UserRegistryService userRegistryService = ... | java |
private String updateMissingUserAccessId(AuthzTableContainer maps, User user, String userNameFromRole) {
String accessIdFromRole;
accessIdFromRole = getMissingAccessId(user);
if (accessIdFromRole != null) {
maps.userToAccessIdMap.put(userNameFromRole, accessIdFromRole);
} els... | java |
private String updateMissingGroupAccessId(AuthzTableContainer maps, Group group, String groupNameFromRole) {
String accessIdFromRole;
accessIdFromRole = getMissingAccessId(group);
if (accessIdFromRole != null) {
maps.groupToAccessIdMap.put(groupNameFromRole, accessIdFromRole);
... | java |
private void fireProgressEvent(int state, int progress, String messageKey, RepositoryResource installResource) throws InstallException {
String resourceName = null;
if (installResource instanceof EsaResource) {
EsaResource esar = ((EsaResource) installResource);
if (esar.getVisib... | java |
public void fireInstallProgressEvent(int progress, InstallAsset installAsset) throws InstallException {
if (installAsset.isServerPackage())
fireProgressEvent(InstallProgressEvent.DEPLOY, progress, Messages.INSTALL_KERNEL_MESSAGES.getLogMessage("STATE_DEPLOYING", installAsset.toString()), true);
... | java |
public void fireDownloadProgressEvent(int progress, RepositoryResource installResource) throws InstallException {
if (installResource.getType().equals(ResourceType.FEATURE)) {
Visibility v = ((EsaResource) installResource).getVisibility();
if (v.equals(Visibility.PUBLIC) || v.equals(Visi... | java |
public void installFeatures(Collection<String> featureNames, String toExtension, boolean acceptLicense, String userId, String password) throws InstallException {
installFeatures(featureNames, toExtension, acceptLicense, userId, password, 1);
} | java |
public void installFeature(String esaLocation, String toExtension, boolean acceptLicense) throws InstallException {
fireProgressEvent(InstallProgressEvent.CHECK, 1, Messages.INSTALL_KERNEL_MESSAGES.getLogMessage("STATE_CHECKING"));
ArrayList<InstallAsset> installAssets = new ArrayList<InstallAsset>();
... | java |
public void installFeatureNoResolve(String esaLocation, String toExtension, boolean acceptLicense) throws InstallException {
fireProgressEvent(InstallProgressEvent.CHECK, 1, Messages.INSTALL_KERNEL_MESSAGES.getLogMessage("STATE_CHECKING"));
ArrayList<InstallAsset> singleFeatureInstall = new ArrayList<In... | java |
public void installFeature(Collection<String> featureIds, File fromDir, String toExtension, boolean acceptLicense, boolean offlineOnly) throws InstallException {
//fireProgressEvent(InstallProgressEvent.CHECK, 1, Messages.INSTALL_KERNEL_MESSAGES.getLogMessage("STATE_CHECKING"));
this.installAssets = new... | java |
public ServerPackageAsset resolveServerPackage(File archiveFile) throws InstallException {
ServerPackageAsset spa = (ServerPackageJarAsset.validType(archiveFile.getAbsolutePath().toLowerCase())) ? new ServerPackageJarAsset(archiveFile, false) : new ServerPackageZipAsset(archiveFile, false);
this.instal... | java |
public Collection<String> getServerFeaturesToInstall(Set<ServerAsset> servers, boolean offlineOnly) throws InstallException, IOException {
Set<String> features = new TreeSet<String>();
Set<String> serverNames = new HashSet<String>(servers.size());
Set<String> allServerNames = new HashSet<String>... | java |
public void installFixes(Collection<String> fixes, String userId, String password) throws InstallException {
fireProgressEvent(InstallProgressEvent.CHECK, 1, Messages.INSTALL_KERNEL_MESSAGES.getLogMessage("STATE_CHECKING"));
List<String> fixesToInstall = new ArrayList<String>(fixes.size());
for ... | java |
public Set<InstallLicense> getFeatureLicense(Collection<String> featureIds, File fromDir, String toExtension, boolean offlineOnly, Locale locale) throws InstallException {
Set<InstallLicense> licenses = new HashSet<InstallLicense>();
ArrayList<InstallAsset> installAssets = new ArrayList<InstallAsset>();... | java |
public Set<InstallLicense> getFeatureLicense(String esaLocation, Locale locale) throws InstallException {
Set<InstallLicense> licenses = new HashSet<InstallLicense>();
ArrayList<InstallAsset> installAssets = new ArrayList<InstallAsset>();
getResolveDirector().resolve(esaLocation, "", product.get... | java |
public Set<InstallLicense> getFeatureLicense(Collection<String> featureNames, Locale locale, String userId, String password) throws InstallException {
Set<InstallLicense> licenses = new HashSet<InstallLicense>();
if (featureNames == null || featureNames.isEmpty())
return licenses;
M... | java |
public Set<InstallLicense> getServerPackageFeatureLicense(File archive, boolean offlineOnly, Locale locale) throws InstallException {
String aName = archive.getAbsolutePath().toLowerCase();
ServerPackageAsset spa = null;
if (ServerPackageZipAsset.validType(aName)) {
spa = new ServerP... | java |
public Set<InstallLicense> getServerFeatureLicense(File serverXML, boolean offlineOnly, Locale locale) throws InstallException, IOException {
if (null != serverXML) {
return getFeatureLicense(new ServerAsset(serverXML).getRequiredFeatures(), locale, null, null);
}
return new HashSet... | java |
public void cleanUp() {
fireProgressEvent(InstallProgressEvent.CLEAN_UP, 98, Messages.INSTALL_KERNEL_MESSAGES.getLogMessage("STATE_CLEANING"));
if (installAssets != null) {
for (List<InstallAsset> iaList : installAssets) {
for (InstallAsset asset : iaList) {
... | java |
public Collection<String> getInstalledFeatureNames() {
if (installAssets == null)
return null;
Collection<String> installed = new ArrayList<String>();
for (List<InstallAsset> iaList : installAssets) {
for (InstallAsset asset : iaList) {
if (asset.isFeature... | java |
public void enableConsoleLog(Level level, boolean verbose) {
InstallLogUtils.enableConsoleLogging(level, verbose);
InstallLogUtils.enableConsoleErrorLogging(verbose);
} | java |
public void reapplyFixIfNeeded() throws ReapplyFixException {
BundleRepositoryRegistry.initializeDefaults(null, false);
Set<String> fixesToReapply = ValidateCommandTask.getFixesToReapply(product.getManifestFileProcessor(), new InstallUtils.InstallCommandConsole());
try {
fireProgress... | java |
public void setScriptsPermission(int event) {
if (event == InstallProgressEvent.POST_INSTALL ? setScriptsPermission : getUninstallDirector().needToSetScriptsPermission()) {
fireProgressEvent(event, 95, Messages.INSTALL_KERNEL_MESSAGES.getLogMessage("STATE_SET_SCRIPTS_PERMISSION"));
try {... | java |
public List<EsaResource> queryFeatures(String searchStr) throws InstallException {
List<EsaResource> features = new ArrayList<EsaResource>();
RepositoryConnectionList loginInfo = getResolveDirector().getRepositoryConnectionList(null, null, null, this.getClass().getCanonicalName() + ".queryFeatures");
... | java |
public Map<String, Collection<String>> downloadAssetsInstallUtility(Set<String> assetsNames, File toDir, DownloadOption downloadOption, String user, String password,
boolean isOverride) throws InstallException {
fireProgressEvent(InstallPro... | java |
public Map<String, InstalledFeature> getInstalledCoreFeatures() {
try {
Map<String, InstalledFeature> installedFeatures = new TreeMap<String, InstalledFeature>();
Map<String, ProvisioningFeatureDefinition> fdMap = product.getCoreFeatureDefinitions();
for (Entry<String, Provis... | java |
public Map<String, InstalledFeatureCollection> getInstalledFeatureCollections() {
try {
Map<String, InstalledFeatureCollection> installedFeatureCollections = new TreeMap<String, InstalledFeatureCollection>();
Map<String, ProvisioningFeatureDefinition> fdMap = product.getFeatureCollection... | java |
public void installAssets(Collection<String> assetIds, File fromDir, RepositoryConnectionList loginInfo) throws InstallException {
this.installAssets = new ArrayList<List<InstallAsset>>();
ArrayList<InstallAsset> installAssets = new ArrayList<InstallAsset>();
ArrayList<String> unresolvedFeatures... | java |
public void installAssets(Collection<String> assetIds, RepositoryConnectionList loginInfo) throws InstallException {
fireProgressEvent(InstallProgressEvent.CHECK, 1, Messages.INSTALL_KERNEL_MESSAGES.getLogMessage("STATE_CHECKING_ASSETS"));
if (assetIds == null || assetIds.isEmpty()) {
throw... | java |
public void checkResources() throws InstallException {
getResolveDirector().checkResources();
if (installAssets != null) {
for (List<InstallAsset> iaList : installAssets) {
for (InstallAsset ia : iaList) {
checkResource(ia);
}
}... | java |
public String castToPrintableMessage(long number) {
long i = number / 1048576;
if (i > 0)
return String.valueOf(i) + " MB";
else {
long l = number / 1024;
return String.valueOf(l) + " KB";
}
} | java |
public Map<String, Collection<String>> getInstalledAssetNames() {
if (installAssets == null)
return null;
Map<String, Collection<String>> installed = new HashMap<String, Collection<String>>();
Collection<String> installedAddons = new ArrayList<String>();
Collection<String> in... | java |
public Set<InstallLicense> getFeatureLicense(Locale locale) throws InstallException {
Map<String, InstallLicenseImpl> licenseIds = new HashMap<String, InstallLicenseImpl>();
getFeatureLicenseFromInstallAssets(locale, licenseIds, getResolveDirector().getLocalInstallAssets());
getFeatureLicenseFro... | java |
public Collection<String> getSampleLicense(Locale locale) throws InstallException {
Collection<String> licenses = new ArrayList<String>();
for (List<List<RepositoryResource>> targetList : getResolveDirector().getInstallResources().values()) {
for (List<RepositoryResource> mrList : targetList... | java |
public Collection<String> getSamplesOrOpenSources() {
Collection<String> samplesOrOpenSources = new ArrayList<String>();
Map<String, List<List<RepositoryResource>>> installResources = getResolveDirector().getInstallResources();
if (installResources != null) {
for (List<List<Repositor... | java |
public void downloadAssets(String toExtension) throws InstallException {
downloadAssets(getResolveDirector().getInstallResources(), toExtension);
if (getResolveDirector().getLocalInstallAssetsSize() > 0)
this.installAssets.add(getResolveDirector().getLocalInstallAssets());
} | java |
public void resolve(String feature, File esaFile, String toExtension) throws InstallException {
getResolveDirector().resolve(feature, esaFile, toExtension);
} | java |
public boolean resolveExistingAssetsFromDirectoryRepo(Collection<String> featureNames, File repoDir, boolean isOverwrite) throws InstallException {
return getResolveDirector().resolveExistingAssetsFromDirectoryRepo(featureNames, repoDir, isOverwrite);
} | java |
public void uninstall(Collection<String> ids, boolean force) throws InstallException {
getUninstallDirector().uninstall(ids, force);
} | java |
public void uninstall(boolean checkDependency, String[] productIds, Collection<File> toBeDeleted) throws InstallException {
getUninstallDirector().uninstall(checkDependency, productIds, toBeDeleted);
} | java |
public void uninstallFeaturesByProductId(String productId, boolean exceptPlatformFeatures) throws InstallException {
String[] productIds = new String[1];
productIds[0] = productId;
uninstallFeaturesByProductId(productIds, exceptPlatformFeatures);
} | java |
public synchronized final void append(Link link)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "append");
Link prev = _dummyTail._getPreviousLink();
link._link(prev, _dummyTail, _nextPositionToIssue++, this);
prev._setNextLink(link);
... | java |
public final AbstractItem findFirstMatching(final Filter filter) throws MessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "findFirstMatching", filter);
AbstractItem found = null;
Link link = getHead();
while (link != nul... | java |
public final AbstractItem removeFirstMatching(final Filter filter, PersistentTransaction transaction) throws MessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "removeFirstMatching", new Object[] { filter, transaction});
AbstractItem found... | java |
public final void xmlWriteOn(FormattedWriter writer, String tagName) throws IOException
{
Link link = getHead();
if (link != null)
{
writer.newLine();
writer.startTag(tagName);
writer.indent();
while (link != null)
{
... | java |
public int countLinks()
{
int count = 0;
Link look = _dummyHead.getNextLogicalLink();
while (look != null && _dummyTail != look)
{
count++;
look = look._getNextLink();
}
return count;
} | java |
private void purge()
{
if (TraceComponent.isAnyTracingEnabled() && _tc.isEntryEnabled()) SibTr.entry(this, _tc, "purge");
Iterator<Map.Entry<K,TimedValue<V>>> it = _realMap.entrySet().iterator();
while (it.hasNext())
{
Map.Entry<K,TimedValue<V>> entry = it.next();
TimedValue<V> value = en... | java |
private static StringBuilder toBase64(long value) {
StringBuilder result = new StringBuilder(23); // Initialize with the size of ID if using Base64
for(int shift=60; shift>=0; shift-=6) {
result.append(Base64[(int)((value >> shift) & 0x3F)]);
}
return result;
} | java |
private void nextQueue()
{
if(super.hasNext())
{
do
{
if(_currentSubIterator != null) _currentSubIterator.finished();
_currentSubIterator = null;
_currentQueue = (SIMPQueueControllable) super.next();
try
{
_currentSubIterator = _curr... | java |
@SuppressWarnings("unchecked")
public static <T> T getContextData(String name) {
EventImpl event = (EventImpl) CurrentEvent.get();
if (null != event) {
return (T) event.getContextData(name);
}
return null;
} | java |
public static <T> EventLocal<T> getLocal(String name) {
return (EventLocal<T>) eventLocalNames.get(name);
} | java |
public T get() {
EventImpl event = (EventImpl) CurrentEvent.get();
if (null == event) {
return null;
}
return event.get(this);
} | java |
public void set(T value) {
EventImpl event = (EventImpl) CurrentEvent.get();
if (null != event) {
event.set(this, value);
}
} | java |
public T remove() {
EventImpl event = (EventImpl) CurrentEvent.get();
if (null != event) {
// Also need to remove name, if specified, from the Event's Set.
if (name != null) {
event.removeEventLocalName(name);
}
return event.remove(this);
... | java |
protected void validate() throws IOException {
if (null != this.error) {
throw this.error;
}
if (isClosed()) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "validate - is closed: hc: " + this.hashCode() + " details: " + t... | java |
@FFDCIgnore({ IOException.class })
private void convertFile(FileChannel fc) throws IOException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
Tr.event(tc, "Converting FileChannel to buffers");
}
final WsByteBuffer[] body = new WsByteBuffer[1];
final ... | java |
private List<InMemoryMappingFile> copyInMemoryMappingFiles(List<InMemoryMappingFile> copyIMMF) {
List<InMemoryMappingFile> immf = new ArrayList<InMemoryMappingFile>();
for (InMemoryMappingFile file : copyIMMF) {
immf.add(new InMemoryMappingFile(file.getMappingFile()));
}
retu... | java |
protected Channel createChannel(ChannelData channelData) throws ChannelException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "createChannel");
}
TCPChannelConfiguration newCC = new TCPChannelConfiguration(channelData);
TCPChannel channel... | java |
public void processException(HttpServletRequest req, HttpServletResponse res) throws IOException
{
if (redirectURL != null)
{
res.sendRedirect(redirectURL);
return;
}
if (message == null)
{
res.sendError(statusCode);
}
... | java |
public static String getMD5String(String str) {
MessageDigest messageDigest = getMessageDigest(MD5);
return getHashString(str, messageDigest);
} | java |
public static String getFileMD5String(File file) throws IOException {
MessageDigest messageDigest = getMessageDigest(MD5);
return getFileHashString(file, messageDigest);
} | java |
public static String getSHA256String(String str) {
MessageDigest messageDigest = getMessageDigest(SHA256);
return getHashString(str, messageDigest);
} | java |
public static String getFileSHA256String(File file) throws IOException {
MessageDigest messageDigest = getMessageDigest(SHA256);
return getFileHashString(file, messageDigest);
} | java |
private static MessageDigest getMessageDigest(String digestType) {
MessageDigest messageDigest;
try {
messageDigest = MessageDigest.getInstance(digestType);
} catch (NoSuchAlgorithmException e) {
//should not happen
throw new RuntimeException(e);
}
... | java |
public void install(InstallAsset installAsset, List<File> filesInstalled, Collection<String> featuresToBeInstalled, ExistsAction existsAction,
Set<String> executableFiles, Map<String, Set<String>> extattrFiles, boolean downloadDependencies,
RestRepositoryConnectionProxy p... | java |
public void installFeatureNoDependencyCheck(InstallAsset installAsset, List<File> filesInstalled, Collection<String> featuresToBeInstalled, ExistsAction existsAction,
Set<String> executableFiles, Map<String, Set<String>> extattrFiles, boolean downloadDependencies,
... | java |
public void uninstall(UninstallAsset uninstallAsset, boolean checkDependency,
List<File> filesRestored) throws IOException, ParserConfigurationException, SAXException, InstallException {
if (uninstallAsset.getType().equals(UninstallAssetType.feature)) {
// Remove the featur... | java |
public void preCheck(UninstallAsset uninstallAsset) throws InstallException {
if (uninstallAsset.getType().equals(UninstallAssetType.feature)) {
ESAAdaptor.preCheck(uninstallAsset, uninstallAsset.getProvisioningFeatureDefinition(),
getBaseDir(uninstallAsset.getProvisi... | java |
public final FFDCLogger append(String description, Object value) {
lines.add(description);
lines.add(new StringBuffer().append(TAB).append(value).append(AdapterUtil.EOLN).toString());
return this;
} | java |
public final FFDCLogger append(String info) {
lines.add(new StringBuffer().append(info).append(AdapterUtil.EOLN).toString());
return this;
} | java |
public final FFDCLogger append(String[] moreLines) {
int numLines = moreLines.length;
for (int i = 0; i < numLines; i++)
lines.add(moreLines[i]);
return this;
} | java |
public final FFDCLogger indent(Object value) {
lines.add(new StringBuffer().append(TAB).append(value).toString());
return this;
} | java |
public final FFDCLogger introspect(String description, Object value)
{
if (value instanceof FFDCSelfIntrospectable)
append(((FFDCSelfIntrospectable) value).introspectSelf());
else
append(description, value);
return this;
} | java |
private ProvisioningFeatureDefinition getCachedFeature(String featureName) {
List<ProvisioningFeatureDefinition> featureList = symbolicNameToFeature.get(featureName);
if (featureList == null) {
featureName = publicNameToSymbolicName.get(featureName.toLowerCase());
if (featureNam... | java |
private List<RepositoryResource> getResourcesForName(String resourceName) {
List<RepositoryResource> results = new ArrayList<>();
try {
results.addAll(repositoryConnection.getMatchingEsas(FilterableAttribute.SYMBOLIC_NAME, resourceName));
results.addAll(repositoryConnection.getMa... | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.