congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
LayerInfo
Code IndexAdd Tabnine to your IDE (free)

How to use
LayerInfo
in
org.jboss.as.patching.installation

Best Java code snippets using org.jboss.as.patching.installation.LayerInfo (Showing top 15 results out of 315)

origin: stackoverflow.com

 var arr = new Array(); //note caps or var arr = [];
arr[i] = new LayerInfo();
arr[i] = someLaterInfoInstance;
arr.push(new LayerInfo()); ...
origin: org.wildfly.core/wildfly-patching

static TargetInfo loadTargetInfoFromDisk(final DirectoryStructure structure) throws IOException {
  final Properties properties = PatchUtils.loadProperties(structure.getInstallationInfo());
  return loadTargetInfo(properties, structure);
}
origin: wildfly/wildfly-core

@Override
public TargetInfo loadTargetInfo() throws IOException {
  return LayerInfo.loadTargetInfoFromDisk(getDirectoryStructure());
}
origin: wildfly/wildfly-core

  dirStructure = null;
final LayerInfo.TargetInfo info = LayerInfo.loadTargetInfo(properties, dirStructure);
return new LayerInfo(name, info, dirStructure);
origin: wildfly/wildfly-core

    case LAYER: {
      final LayerInfo info = parseTargetInfo(reader, originalIdentity, element);
      layers.put(info.getName(), info);
      break;
    } case ADD_ON:
      final LayerInfo info = parseTargetInfo(reader, originalIdentity, element);
      addOns.put(info.getName(), info);
      break;
    default:
final DirectoryStructure structure = identity.getDirectoryStructure();
final WrappedIdentity installation = new WrappedIdentity(identity, structure);
for (final Map.Entry<String, LayerInfo> entry : layers.entrySet()) {
origin: org.wildfly.core/wildfly-patching

  dirStructure = null;
final LayerInfo.TargetInfo info = LayerInfo.loadTargetInfo(properties, dirStructure);
return new LayerInfo(name, info, dirStructure);
origin: org.wildfly.core/wildfly-patching

    case LAYER: {
      final LayerInfo info = parseTargetInfo(reader, originalIdentity, element);
      layers.put(info.getName(), info);
      break;
    } case ADD_ON:
      final LayerInfo info = parseTargetInfo(reader, originalIdentity, element);
      addOns.put(info.getName(), info);
      break;
    default:
final DirectoryStructure structure = identity.getDirectoryStructure();
final WrappedIdentity installation = new WrappedIdentity(identity, structure);
for (final Map.Entry<String, LayerInfo> entry : layers.entrySet()) {
origin: org.wildfly.core/wildfly-patching

final String layerName = entry.getKey();
final MutableTargetImpl target = entry.getValue();
putLayer(layerName, new LayerInfo(layerName, target.getModifiedState(), target.getDirectoryStructure()));
final String addOnName = entry.getKey();
final MutableTargetImpl target = entry.getValue();
putAddOn(addOnName, new LayerInfo(addOnName, target.getModifiedState(), target.getDirectoryStructure()));
origin: org.wildfly.core/wildfly-patching

@Override
public TargetInfo loadTargetInfo() throws IOException {
  return LayerInfo.loadTargetInfoFromDisk(getDirectoryStructure());
}
origin: wildfly/wildfly-core

static TargetInfo loadTargetInfoFromDisk(final DirectoryStructure structure) throws IOException {
  final Properties properties = PatchUtils.loadProperties(structure.getInstallationInfo());
  return loadTargetInfo(properties, structure);
}
origin: wildfly/wildfly-core

final String layerName = entry.getKey();
final MutableTargetImpl target = entry.getValue();
putLayer(layerName, new LayerInfo(layerName, target.getModifiedState(), target.getDirectoryStructure()));
final String addOnName = entry.getKey();
final MutableTargetImpl target = entry.getValue();
putAddOn(addOnName, new LayerInfo(addOnName, target.getModifiedState(), target.getDirectoryStructure()));
origin: wildfly/wildfly-core

@Override
public TargetInfo loadTargetInfo() throws IOException {
  return LayerInfo.loadTargetInfoFromDisk(getDirectoryStructure());
}
origin: wildfly/wildfly-core

protected static InstalledIdentity copy(InstalledIdentity original) throws IOException {
  final InstalledIdentityImpl copy = new InstalledIdentityImpl(original.getIdentity(), original.getAllInstalledPatches(), original.getInstalledImage());
  for (final Layer layer : original.getLayers()) {
    copy.putLayer(layer.getName(), new LayerInfo(layer.getName(), layer.loadTargetInfo(), layer.getDirectoryStructure()));
  }
  for (final AddOn addOn : original.getAddOns()) {
    copy.putAddOn(addOn.getName(), new LayerInfo(addOn.getName(), addOn.loadTargetInfo(), addOn.getDirectoryStructure()));
  }
  return copy;
}
origin: org.wildfly.core/wildfly-patching

@Override
public TargetInfo loadTargetInfo() throws IOException {
  return LayerInfo.loadTargetInfoFromDisk(getDirectoryStructure());
}
origin: org.wildfly.core/wildfly-patching

protected static InstalledIdentity copy(InstalledIdentity original) throws IOException {
  final InstalledIdentityImpl copy = new InstalledIdentityImpl(original.getIdentity(), original.getAllInstalledPatches(), original.getInstalledImage());
  for (final Layer layer : original.getLayers()) {
    copy.putLayer(layer.getName(), new LayerInfo(layer.getName(), layer.loadTargetInfo(), layer.getDirectoryStructure()));
  }
  for (final AddOn addOn : original.getAddOns()) {
    copy.putAddOn(addOn.getName(), new LayerInfo(addOn.getName(), addOn.loadTargetInfo(), addOn.getDirectoryStructure()));
  }
  return copy;
}
org.jboss.as.patching.installationLayerInfo

Javadoc

Immutable layer info.

Most used methods

  • <init>
  • getDirectoryStructure
  • getName
  • loadTargetInfo
  • loadTargetInfoFromDisk

Popular in Java

  • Creating JSON documents from java classes using gson
  • getContentResolver (Context)
  • onCreateOptionsMenu (Activity)
  • scheduleAtFixedRate (Timer)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Notification (javax.management)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now