Commit ef6aa46b authored by Noel Alonso's avatar Noel Alonso
Browse files

Añade función pública para identificar snapshot

parent f013295d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -13,4 +13,9 @@ public abstract class VesselEventTypes extends EventTypes {

		return EventTypes.isLocked(eventType);
	}

	public static boolean isSnapshot(String eventType) {

		return EventTypes.isSnapshot(eventType);
	}
}
+5 −0
Original line number Diff line number Diff line
@@ -13,4 +13,9 @@ public abstract class VesselTrackingEventTypes extends EventTypes {

		return EventTypes.isLocked(eventType);
	}

	public static boolean isSnapshot(String eventType) {

		return EventTypes.isSnapshot(eventType);
	}
}
+5 −0
Original line number Diff line number Diff line
@@ -8,4 +8,9 @@ public abstract class VesselTypeEventTypes extends EventTypes {

		return EventTypes.isLocked(eventType);
	}

	public static boolean isSnapshot(String eventType) {

		return EventTypes.isSnapshot(eventType);
	}
}