congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
SignatureUpdateService
Code IndexAdd Tabnine to your IDE (free)

How to use
SignatureUpdateService
in
uk.gov.nationalarchives.droid.core.interfaces.signature

Best Java code snippets using uk.gov.nationalarchives.droid.core.interfaces.signature.SignatureUpdateService (Showing top 6 results out of 315)

origin: digital-preservation/droid

try {
  int latestVersionForType = getLatestVersionForType(type, signaturesForType);
  SignatureFileInfo latestUpdate = updateService.getLatestVersion(latestVersionForType);
  if (latestUpdate != null
    && latestUpdate.getVersion() > 0
origin: uk.gov.nationalarchives/droid-results

/**
 * Initailisation post-construct.
 */
public void init() {
  config.getProperties().addConfigurationListener(proxySettings);
  Configuration configuration = config.getProperties();
  
  proxySettings = new ProxySettings();
  proxySettings.setEnabled(configuration.getBoolean(DroidGlobalProperty.UPDATE_USE_PROXY.getName()));
  proxySettings.setProxyHost(configuration.getString(DroidGlobalProperty.UPDATE_PROXY_HOST.getName()));
  proxySettings.setProxyPort(configuration.getInt(DroidGlobalProperty.UPDATE_PROXY_PORT.getName()));
  proxySettings.setEnabled(configuration.getBoolean(DroidGlobalProperty.UPDATE_USE_PROXY.getName()));
  
  config.getProperties().addConfigurationListener(proxySettings);
  
  for (SignatureUpdateService subscriber : signatureUpdateServices.values()) {
    subscriber.init(config);
    proxySettings.addProxySubscriber(subscriber);
    config.getProperties().addConfigurationListener(subscriber);
  }
  
  proxySettings.notifyProxySubscribers();
}
 
origin: uk.gov.nationalarchives/droid-results

SignatureFileInfo info = signatureUpdateServices.get(type).importSignatureFile(sigFileDir);
final boolean autoSetDefaultSigFile = config.getBooleanProperty(DroidGlobalProperty.UPDATE_AUTOSET_DEFAULT);
if (autoSetDefaultSigFile) {
origin: digital-preservation/droid

/**
 * Initailisation post-construct.
 */
public void init() {
  config.getProperties().addConfigurationListener(proxySettings);
  Configuration configuration = config.getProperties();
  
  proxySettings = new ProxySettings();
  proxySettings.setEnabled(configuration.getBoolean(DroidGlobalProperty.UPDATE_USE_PROXY.getName()));
  proxySettings.setProxyHost(configuration.getString(DroidGlobalProperty.UPDATE_PROXY_HOST.getName()));
  proxySettings.setProxyPort(configuration.getInt(DroidGlobalProperty.UPDATE_PROXY_PORT.getName()));
  proxySettings.setEnabled(configuration.getBoolean(DroidGlobalProperty.UPDATE_USE_PROXY.getName()));
  
  config.getProperties().addConfigurationListener(proxySettings);
  
  for (SignatureUpdateService subscriber : signatureUpdateServices.values()) {
    subscriber.init(config);
    proxySettings.addProxySubscriber(subscriber);
    config.getProperties().addConfigurationListener(subscriber);
  }
  
  proxySettings.notifyProxySubscribers();
}
 
origin: digital-preservation/droid

SignatureFileInfo info = signatureUpdateServices.get(type).importSignatureFile(sigFileDir);
final boolean autoSetDefaultSigFile = config.getBooleanProperty(DroidGlobalProperty.UPDATE_AUTOSET_DEFAULT);
if (autoSetDefaultSigFile) {
origin: uk.gov.nationalarchives/droid-results

try {
  int latestVersionForType = getLatestVersionForType(type, signaturesForType);
  SignatureFileInfo latestUpdate = updateService.getLatestVersion(latestVersionForType);
  if (latestUpdate != null
    && latestUpdate.getVersion() > 0
uk.gov.nationalarchives.droid.core.interfaces.signatureSignatureUpdateService

Most used methods

  • getLatestVersion
    Gets the latest version info from the signature registry via a proxy.
  • importSignatureFile
    Imports a signature file.
  • init
    Initialises from config.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setContentView (Activity)
  • startActivity (Activity)
  • getSystemService (Context)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • JFileChooser (javax.swing)
  • JOptionPane (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Table (org.hibernate.mapping)
    A relational table
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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