Packages

c

org.codefeedr.plugins.pypi.operators

PyPiReleasesSource

class PyPiReleasesSource extends RichSourceFunction[PyPiRelease] with CheckpointedFunction

Linear Supertypes
CheckpointedFunction, RichSourceFunction[PyPiRelease], SourceFunction[PyPiRelease], AbstractRichFunction, RichFunction, Function, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PyPiReleasesSource
  2. CheckpointedFunction
  3. RichSourceFunction
  4. SourceFunction
  5. AbstractRichFunction
  6. RichFunction
  7. Function
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PyPiReleasesSource(config: PyPiSourceConfig = PyPiSourceConfig())

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cancel(): Unit

    Close the source.

    Close the source.

    Definition Classes
    PyPiReleasesSource → SourceFunction
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. def close(): Unit
    Definition Classes
    AbstractRichFunction → RichFunction
    Annotations
    @throws( classOf[java.lang.Exception] )
  8. val dateFormat: String

    Format and URL of RSS Feed.

  9. def decreaseRunsLeft(): Unit

    If there is a limit to the amount of runs decrease by 1

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getIsRunning: Boolean
  15. def getIterationRuntimeContext(): IterationRuntimeContext
    Definition Classes
    AbstractRichFunction → RichFunction
  16. def getRSSAsString: String

    Requests the RSS feed and returns its body as a string.

    Requests the RSS feed and returns its body as a string. Will keep trying with increasing intervals if it doesn't succeed

    returns

    Body of requested RSS feed

    Annotations
    @throws( ... )
  17. def getRuntimeContext(): RuntimeContext
    Definition Classes
    AbstractRichFunction → RichFunction
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def initializeState(context: FunctionInitializationContext): Unit

    Initializes state by reading from a checkpoint or creating an empty one.

    Initializes state by reading from a checkpoint or creating an empty one.

    Definition Classes
    PyPiReleasesSource → CheckpointedFunction
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def open(parameters: Configuration): Unit

    Opens this source.

    Opens this source.

    Definition Classes
    PyPiReleasesSource → AbstractRichFunction → RichFunction
  25. def parseRSSString(rssString: String): Seq[PyPiRelease]

    Parses a string that contains xml with RSS items

    Parses a string that contains xml with RSS items

    rssString

    XML string with RSS items

    returns

    Sequence of RSS items

  26. val releasesProcessed: LongCounter

    Accumulator for the amount of processed releases.

  27. def run(ctx: SourceContext[PyPiRelease]): Unit

    Runs the source.

    Runs the source.

    ctx

    the source the context.

    Definition Classes
    PyPiReleasesSource → SourceFunction
  28. def setRuntimeContext(arg0: RuntimeContext): Unit
    Definition Classes
    AbstractRichFunction → RichFunction
  29. def snapshotState(context: FunctionSnapshotContext): Unit

    Make a snapshot of the current state.

    Make a snapshot of the current state.

    Definition Classes
    PyPiReleasesSource → CheckpointedFunction
  30. def sortAndDropDuplicates(items: Seq[PyPiRelease]): Seq[PyPiRelease]

    Drops items that already have been collected and sorts them based on times

    Drops items that already have been collected and sorts them based on times

    items

    Potential items to be collected

    returns

    Valid sorted items

  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. val url: String
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  37. def waitPollingInterval(times: Int = 1): Unit

    Wait a certain amount of times the polling interval

    Wait a certain amount of times the polling interval

    times

    Times the polling interval should be waited

  38. def xmlToPyPiRelease(node: Node): PyPiRelease

    Parses a xml node to a RSS item

    Parses a xml node to a RSS item

    node

    XML node

    returns

    RSS item

Inherited from CheckpointedFunction

Inherited from RichSourceFunction[PyPiRelease]

Inherited from SourceFunction[PyPiRelease]

Inherited from AbstractRichFunction

Inherited from RichFunction

Inherited from Function

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped