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

How to use
getTransferListener
method
in
org.sonatype.aether.RepositorySystemSession

Best Java code snippets using org.sonatype.aether.RepositorySystemSession.getTransferListener (Showing top 8 results out of 315)

origin: sonatype/sonatype-aether

public TransferListener getTransferListener()
{
  return session.getTransferListener();
}
origin: sonatype/sonatype-aether

public RecordingTransferListener getRecordingTransferListener()
{
  if ( session.getTransferListener() instanceof RecordingTransferListener )
  {
    return (RecordingTransferListener) session.getTransferListener();
  }
  else
  {
    return new RecordingTransferListener( session.getTransferListener() );
  }
}
origin: org.sonatype.aether/aether-test-util

public RecordingTransferListener getRecordingTransferListener()
{
  if ( session.getTransferListener() instanceof RecordingTransferListener )
  {
    return (RecordingTransferListener) session.getTransferListener();
  }
  else
  {
    return new RecordingTransferListener( session.getTransferListener() );
  }
}
origin: sonatype/sonatype-aether

private FileRepositoryWorker( RepositorySystemSession session, RemoteRepository repository, Direction direction )
{
  if ( repository == null )
  {
    throw new IllegalArgumentException( "RemoteRepository may not be null." );
  }
  if ( session == null )
  {
    throw new IllegalArgumentException( "RepositorySystemSession may not be null." );
  }
  this.catapult = new TransferEventCatapult( session.getTransferListener() );
  this.direction = direction;
  this.repository = repository;
}
origin: sonatype/sonatype-aether

this.listener = session.getTransferListener();
this.fileProcessor = fileProcessor;
this.session = session;
origin: org.sonatype.aether/aether-connector-asynchttpclient

this.listener = session.getTransferListener();
this.fileProcessor = fileProcessor;
this.session = session;
origin: sonatype/sonatype-aether

this.repository = repository;
this.session = session;
this.listener = session.getTransferListener();
origin: sonatype/sonatype-aether

setWorkspaceReader( session.getWorkspaceReader() );
setRepositoryListener( session.getRepositoryListener() );
setTransferListener( session.getTransferListener() );
setSystemProperties( session.getSystemProperties() );
setUserProperties( session.getUserProperties() );
org.sonatype.aetherRepositorySystemSessiongetTransferListener

Javadoc

Gets the listener being notified of uploads/downloads by the repository system.

Popular methods of RepositorySystemSession

  • getConfigProperties
    Gets the configuration properties used to tweak internal aspects of the repository system (e.g. thre
  • getLocalRepository
    Gets the local repository used during this session. This is a convenience method for LocalRepository
  • getAuthenticationSelector
    Gets the authentication selector to use for repositories discovered in artifact descriptors. Note th
  • getLocalRepositoryManager
    Gets the local repository manager used during this session.
  • getProxySelector
    Gets the proxy selector to use for repositories discovered in artifact descriptors. Note that this s
  • getRepositoryListener
    Gets the listener being notified of actions in the repository system.
  • getArtifactTypeRegistry
    Gets the registry of artifact types recognized by this session.
  • getCache
    Gets the cache the repository system may use to save data for future reuse during the session.
  • getData
    Gets the custom data associated with this session.
  • getDependencyGraphTransformer
    Gets the dependency graph transformer to use for building dependency graphs.
  • getSystemProperties
    Gets the system properties to use, e.g. for processing of artifact descriptors. System properties ar
  • getUserProperties
    Gets the user properties to use, e.g. for processing of artifact descriptors. User properties are si
  • getSystemProperties,
  • getUserProperties,
  • getWorkspaceReader,
  • getChecksumPolicy,
  • getDependencyManager,
  • getDependencySelector,
  • getDependencyTraverser,
  • getMirrorSelector,
  • getUpdatePolicy

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (Timer)
  • getExternalFilesDir (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Menu (java.awt)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Best plugins for Eclipse
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